/bus-ticketing-api

Bus ticketing API built using Node.js

Primary LanguageHTML

Welcome to Bus Ticketing API 👋

Bus ticketing restful API built using node.js for a company that owns a single bus with 40 seat capacity

Install

npm install

Usage

npm run start

Run tests

npm run test

Run in development mode

npm run dev

Run in production mode

npm run prod

Author

👤 shivam singh

🤝 Some more details

This API is hosted on an AWS EC2 instance. so it can be even accessed at this ec2 link. The server is running on port 3000 but due to port redirection, it can be even accessed at default port 80.

The database is being hosted on MongoDB cloud atlas. The test database is hosted localley.

API can be accessed via path /api/v1

Postman collection is also present in this repo.

Admin user credentials

email: admin@admin.com | password: admin123

Note: User of customer role can be created in real time

Show your support

Give a ⭐️ if you like this project!