Created for BeeGee.
- Node.js
- Express
- MySQL
- Sequelize
- jsonwebtoken
- bcrypt
Body: { userName, email, title, isDone, isEdited }
Body: { id, title, isDone, isEdited }
Body: { login, password }
Body: { login, password }
You will also see logs in the console.
CLIENT_URL="https://todo-app-api-production.up.railway.app/"
PORT=8080
DATABASE_NAME="DB name"
DATABASE_HOST="DB host"
DATABASE_USERNAME="DB username"
DATABASE_PASSWORD="DB password"
DATABASE_DIALECT="mysql"
SALT_ROUNDS=5
ACCESS_SECRET_KEY="some-words"
REFRESH_SECRET_KEY="some-another-words"