this is a todo app using node js , express js, mongo db and mongoose.
-
express
-
mongoose
-
envalid
-
dotenv
-
typescript
-
jwt
-
bcrypt
-
cors
-
zod
-
clone the repo
git clone https://github.com/sjana7797/todoapp.git
-
install dependencies
yarn
-
Download and install mongodb
-
create a database named todo
-
create a .env file and add the following variables
PORT = 5000
MONGO_URI = mongodb://localhost:27017/todo
JWT_SECRET = secret
FRONTEND_URL=http://localhost:3000