https://github.com/indraarianggi/devscale-assignment-3
Devscale MERN Assignment 3 - Todo App
https://github.com/indraarianggi/devscale-assignment-3
Last synced: about 2 months ago
JSON representation
Devscale MERN Assignment 3 - Todo App
- Host: GitHub
- URL: https://github.com/indraarianggi/devscale-assignment-3
- Owner: indraarianggi
- Created: 2024-08-15T04:52:05.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-08-19T03:19:55.000Z (9 months ago)
- Last Synced: 2024-08-19T04:32:07.259Z (9 months ago)
- Language: TypeScript
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# To Do List App
Devscale MERN Course Assignment #3:
- MVC Pattern
- Authentication & Authorization
- Token RotationBonus:
- Docker & Docker Compose## How to run?
1. Clone this repository
```bash
git clone [email protected]:indraarianggi/devscale-assignment-3.git
cd devscale-assignment-3
```2. Install dependencies
```bash
pnpm insall
```3. Congfigure environment variables
Create `.env` file on root directory and copy the contents from `.env.example` into it.```javasscript
PORT=
MONGO_URI=
JWT_SECRET=
JWT_REFRESH_SECRET==
JWT_ACCESS_EXPIRES_TIME=
JWT_REFRESH_EXPIRES_TIME=
```4. Run the app
```bash
pnpm dev
```## How to run with Docker?
1. Start docker
2. Run this command
```bash
docker-compose up
```