Skip to content

RisingGeek/twitter-clone-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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