Files
helsinki/Pt12/part12-containers-applications/todo-app/todo-backend/README.md
T
2024-09-30 15:32:50 +03:00

19 lines
438 B
Markdown
Executable File

# Express application
Install dependencies with `npm install`
Run with `npm start`
Or in development mode with `npm run dev`
# Visit counter
When running the server, visit http://localhost:3000 to see visit counter, or give environment variable `PORT` to change the port.
# MongoDB
The application has /todos crud which requires a MongoDB. Pass connection url with env `MONGO_URL`
# Redis
Pass connection url with env `REDIS_URL`