WeConnect provides a platform that brings businesses and individuals together.
This platform creates awareness for businesses and gives the users the ability to write reviews about the businesses they have interacted with.
The Template pages of WEconnect app can be accessed here .
The app server endpoints are hosted on heroku.
* Bootstrap 4 for UI styling
* CSS for custom styling
* Html for the web pages
* Javascript to add some behaviour
* Nodejs for server-side logic
* Express for api routes implementation
* Heroku for hosting services
* Travis CI & Codeclimate for test automation
* Coveralls for test coverage report
* Hounds CI for linting report according to Eslint
* Mocha & Chai for api route testing
- Install Nodejs
- Clone this repo
git clone https://github.com/d-beloved/WEconnect.git
- Run
npm install
to install the required dependencies - Run
npm test
to fireup the tests - Navigate to http://localhost:3001/
HTTP REQUEST VERB | API ENDPOINT/PATH | ACTION |
---|---|---|
POST | /api/v1/auth/signUp | Register a user |
POST | /api/v1/auth/login | Login user |
POST | /api/v1/businesses | Register a business |
PUT | /api/v1/businesses/:businessId | Update a business profile with the specified id |
DELETE | /api/v1/businesses/:businessId | Delete a business with the specified id |
GET | /api/v1/businesses/:businessId | Get a business with the specified id |
GET | /api/v1/businesses/userBiz | Get all businesses registered by a user |
GET | /api/v1/businesses | Get all businesses |
POST | /api/v1/businesses/:businessId/reviews | Add a review to a business |
GET | /api/v1/businesses/:businessId/reviews | Get all reviews for a business |
GET | /api/v1/businesses?location=location | Get businesses with a location |
GET | /api/v1/businesses?category=category | Get businesses with a category |
GET | /api/v1/businesses?category=category&location=location | Get businesses with a category and location |
Check here for full documentation.
© Ayodeji Moronkeji
Licensed under the MIT License. More details coming in soon...