SAHAJ YATRA API, aims to provide a interface to create, manage and update the user and admin status for a digital transportation system.
This project emphasizes and implements the following major features:
You can locally setup the system or just use the API hosted on onrender, for which the url is SAHAJ YATRA API
-
Clone the repository to your local environment.
git clone https://github.com/Senor101/Sahaj_Yatra_API.git
-
Head inside the newly setup
Sahaj_Yatra_API
folder.cd Sahaj_Yatra_API
-
Install the required dependencies.
npm install
-
Setting up environment variables, create a
.env
file in the root of the new folder and with reference to.env.example
file setup the environment variables. -
Running the server.
npm start
OR, to run development server
npm run dev
-
Head over to
http://localhost:8000/api/v1
and voila, you got the SAHAJ YATRA API server up and running.
For interacting with the api, refer to SAHAJ YATRA API DOCS.