To get started with this project, follow these steps:
-
Clone this repository to your local machine:
git clone https://github.com/aditipolkam/social-media-api
-
Navigate to the project directory:
cd social-media-api
-
Install project dependencies using npm:
npm install
After the installation is complete, you can use the following commands to run and develop the project:
To build and run the project in production mode, use the following command:
npm start
This will transpile TypeScript files and run the application.
To run the project in development mode with automatic code reloading, use the following command:
npm run dev
This uses nodemon
to monitor changes to TypeScript files and restarts the application automatically.
To run ESLint for linting TypeScript files, use the following command:
npm run lint
This command will help you maintain code quality by identifying and fixing issues in your code.
If you would like to contribute to this project, please read our Contributing Guidelines for more information.
This project is licensed under the MIT License - see the LICENSE file for details.