wasp/examples/tutorials/TodoApp
2024-07-03 13:51:29 +02:00
..
migrations Update the tutorial for 0.12.0 (#1799) 2024-02-26 14:33:28 +01:00
public Update the tutorial for 0.12.0 (#1799) 2024-02-26 14:33:28 +01:00
src Update the tutorial for 0.12.0 (#1799) 2024-02-26 14:33:28 +01:00
.gitignore Again updated default .gitignore: removed !.env.client. (#2090) 2024-06-10 20:37:40 +02:00
.waspignore Update the tutorial for 0.12.0 (#1799) 2024-02-26 14:33:28 +01:00
.wasproot Update docs to account for struct changes (#808) 2022-11-11 18:36:50 +01:00
main.wasp Using Prisma file alongside Wasp (#2035) 2024-07-03 13:51:29 +02:00
package-lock.json Bumps Wasp version in docs and example apps (#1902) 2024-03-18 17:47:32 +01:00
package.json Update the tutorial for 0.12.0 (#1799) 2024-02-26 14:33:28 +01:00
README.md Merge release to main (#2119) 2024-06-24 16:08:21 +02:00
schema.prisma Using Prisma file alongside Wasp (#2035) 2024-07-03 13:51:29 +02:00
tsconfig.json Update the tutorial for 0.12.0 (#1799) 2024-02-26 14:33:28 +01:00
vite.config.ts Update the tutorial for 0.12.0 (#1799) 2024-02-26 14:33:28 +01:00

Todo App Tutorial Example App

This is an example app that complements the Intro Wasp Tutorial. It is a simple Todo App that demonstrates how to use Wasp to build a truly full-stack web app quickly and easily.

This example app represents the final state of the tutorial. If you'd prefer to follow it step-by-step, you can find the tutorial here.

This project also allows you to run the app in GitHub Codespaces, so you can try out Wasp without installing anything on your machine.

Running the App in GitHub Codespaces

On the Wasp repo's release branch, click on the green "Code" button and create a new Codespace.

Give the Codespace some time to install Wasp and finish initializing, then in the terminal run:

wasp db migrate-dev

Once the migration is done, you can start the app by running:

wasp start

This will start the app. The codespace should prompt you with an "Open in Browser" button. If not, click on the "Ports" tab next to the terminal in the bottom of the Codespace and click on the "forwarded address" for port 3000.

Running the App Locally

After you've cloned this repository, you can run the app locally by following these steps:

Install Wasp

curl -sSL https://get.wasp-lang.dev/installer.sh | sh

Position yourself in the project directory, then migrate the DB:

wasp db migrate-dev

Finally, run the app:

wasp start