Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 412 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 412 Bytes

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