π₯π₯π·πΊπ»π β π₯π₯
UMTS [Use My Tech Stuff] is a platform for connecting users in need of renting equipment/properties with the users willing to rent out same. It eliminates the overhead cost due to middlemen in renting equipment or properties.
BASE_URL : https://umts-backend.herokuapp.com/api/
Verb | Route | Description | Auth Required |
---|---|---|---|
GET | / | Index Route | false |
POST | /auth/register |
Create account | false |
POST | /auth/login |
Sign in | false |
PUT | /auth/profile |
Update Profile | true |
GET | /rentItems |
Get list of rent items | false |
GET | /rentItems/:itemId |
Get single item | false |
PUT | /rentItems/:itemId |
Update an item | true |
DELETE | /rentItems/:itemId |
Delete item | true |
GET | /rentItems/:catId/categories/ |
Get items under a category | false |
GET | /categories |
Get List of item categories | false |
POST | /categories |
Create a category | true |
POST | /rentItems/1/reviews |
Add Review to an item | true |
POST | /rentItems/1/bookings |
rent an item | true |
GET | /auth/users/:userId |
Get single user details | true |
Node installed
NPM or Yarn install
git clone https://github.com/build-week-use-my-tech-stuff-umts/umts-backend.git && cd umts-backend
touch .env && cp .env.example .env
npm install
npm run migrate && npm run seed
npm run start:dev
npm test
- Express
- Sequelize ORM/node postgress for database client
- Express validator for validation
- Express Error Bouncer for central error handling
- Bcrypt for password encryption
- Jsonwebtoken for Authentication
-
Eslint for style guide and linting
-
Postgreql for database
-
Travis for CI/CD
-
Coveralls for coverage test.
-
dbdiagram.io for database schema design
-
Heroku for hosting
- MIT