Full-stack Todo app
Here is what you need to be able to run the app locally.
- Node.js (latest or LTS)
- pnpm
- Docker (for MySQL development and test databases)
-
Clone the repository
git clone https://github.com/nrademacher/todo.git
-
Go to the project folder
cd todo
-
Install packages with yarn
pnpm install
-
Set up your
.env
file- Duplicate
.env.example
to.env
- Use
openssl rand -base64 16
(or8
,16
,24
) to generate keys and add them forJWT_SECRET
andDB_PASSWORD
in the .env file.
- Duplicate
-
Create soft links to your
.env
file in theserver
andclient
appsln -s .env apps/server/.env ln -s .env apps/client/.env
-
Start up the development and test databases
pnpm db:up
-
Start the app (
server
andclient
)pnpm dev
-
See
package.json
for further commands