Simple Node JS Service API Application.
Please ensure Node JS is installed.
- git clone https://github.com/akinmaurice/serviceProviders.git
- cd serviceProviders
- Create a Mysql Database schema
- Create the necessary tables using the sql file here
- Provide connection details to Database. Example:
export DATABASE_DEV_URL='mysql://user:password@host:port/database'
- visit http://localhost:3023 to view!
The above will get you a copy of the project up and running on your local machine for development and testing purposes.
| EndPoint | Functionality |
| --------------------------------------- | ------------------------------------:|
| GET /provider/services/:service | Get Providers by service name |
| GET /provider/location/:city | Get Providers by location |
| GET /service/ | Get all Services |
| POST /service/ | Create Service |
| POST /provider/ | Create Provider |
1. MySql
2. NodeJS
3. ExpressJS
1. Pagination
2. Update Services and Providers
3. Delete Services and Providers
4. Multiple services for providers
This project is licensed under the MIT License - see the LICENSE.md file for details