This Sample API retrieves contractors and their specialities.
REST API created with node, express, typescript Endpoints:
- GET /api/contractors -> get all contractors
- GET /api/specialities -> get all specialties
Please before run the app, take into account to have a nodejs installed in your local.
- Clone the repository
git clone https://github.com/ravisankarchinnam/cosuno-app.git
- Change the working directory
cd server
- Install dependencies
yarn install
- Create
.env
file in root and add your variables
PORT= YOUR_PORT
- Run the app
yarn run dev
You are all set! Open localhost:3030 to see the app.
yarn run prod
- which generates a dist folder with all the files ready for the deployment in the sameserver
folder.
This API is deployed to heroku along with Swagger API Documentation, please use this endpoint https://cosuno-app.herokuapp.com
- Integrate API with real database.
- Implement Search Features (limit, sort, pagination, etc.)
- Implement Session management
- Implement CRUD Operations for Contractors
- Implement CRUD operations for specialities
- Implement Bidding system API
Ravisankar Chinnam