social-media-api

How to Setup Project In Local Development Environment

  • Clone this repo in visual studio code or any other editor

  • install node modules using npm install command.

  • setup env file, create a new .env file in the root. you can check .env.example file for reference what key to be used. Basically you need to setup the mysql enviroment

  • supports mysql db. Configure your database and define connection strings in env file

  • After setting up environment file and node modules installation hit npm start

  • Server will start at port 5000 default. If you wish to alter this define PORT as key and assign value.

  • if you face any issue shoot me email- send2abhishek@live.com