twitter-clone-backend
twitter-clone-backend copied to clipboard
Twitter Clone backend
Run locally
Requirements: Node, npm, MySQL
Create .env file at the root of the project with the following contents:
DB_NAME=<DATABASE_NAME>
DB_USER=<DATABASE_USER>
DB_PASSWORD=<DATABASE_PASSWORD>
DB_HOST=<DATABASE_HOST>
DB_PORT=<DATABASE_PORT>
CLOUDINARY_URL=<CLOUDINARY_URL>
SECRET_KEY=<YOUR_SECRET_KEY>
npm install
npm start