Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redjanvier/elite-members-api-mongo
This is a version of elite members with MongoDB instead of Postgres
https://github.com/redjanvier/elite-members-api-mongo
elite-members express mongodb node restapi
Last synced: about 4 hours ago
JSON representation
This is a version of elite members with MongoDB instead of Postgres
- Host: GitHub
- URL: https://github.com/redjanvier/elite-members-api-mongo
- Owner: RedJanvier
- Created: 2019-11-12T06:33:38.000Z (about 5 years ago)
- Default Branch: develop
- Last Pushed: 2023-01-05T17:59:39.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T08:55:32.605Z (over 1 year ago)
- Topics: elite-members, express, mongodb, node, restapi
- Language: JavaScript
- Size: 2.1 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# elite-members-api-mongo
[![Build Status](https://travis-ci.org/RedJanvier/elite-members-api-mongo.svg?branch=develop)](https://travis-ci.org/RedJanvier/elite-members-api-mongo)
[![DeepScan grade](https://deepscan.io/api/teams/6051/projects/7944/branches/88513/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=6051&pid=7944&bid=88513)
[![Maintainability](https://api.codeclimate.com/v1/badges/5c7500f7c37a67b9b509/maintainability)](https://codeclimate.com/github/RedJanvier/elite-members-api-mongo/maintainability)
[![Coverage Status](https://coveralls.io/repos/github/RedJanvier/elite-members-api-mongo/badge.svg?branch=develop)](https://coveralls.io/github/RedJanvier/elite-members-api-mongo?branch=develop)This is a REST API based on Node Js, Express, MongoDB, and JWT for authentication which is a duplicate of the [elite members api](https://github.com/RedJanvier/elite-members-api) and deals with managing and maintaining members of a class group called Elite.
## Features to implement
- ✔ Member should be able to leave the group
- ✔ Member should be able to update his/her informations
- ✔ Anyone should be able so see all members of the group
- ✔ Anyone should be able to get all details of any member
- ✔ Member should be able to Join the group with image upload
- ❌ Member (committee) should be able to log into his/her group account## Routes
#### See all members
```
[GET] /api/v2/members/:body: none
```#### See a single member
```
[GET] /api/v2/members/:memberId:body: none
```#### Create a members
```
[POST] /api/v2/members/create:body: (form-data) {
name "STRING",
email "STRING",
shares "INTEGER",
location "STRING",
img "FORM-DATA",
committee "STRING" (optional),
password "STRING"
}
```#### Edit a member
```
[PATCH] /api/v2/members/:memberId:body: (updates_only) {
name "STRING",
email "STRING",
shares "INTEGER",
location "STRING",
img "URL",
committee "STRING" (optional),
password "STRING"
}
```#### Remove a members
```
[DELETE] /api/v2/members/:memberId:body: none
```## Tech stack
- Node JS
- Express JS
- MongoDB
- bcrypt
- jsonwebtokens
- jest
- multer## Author
### **RedJanvier**
## Contacts
[Github](https://github.com/RedJanvier)
[Twitter](https://twitter.com/red_janvier)
[YouTube](https://www.youtube.com/channel/UCrQBNajZa-ibHBerJQ0kAiQ)
[Facebook](https://facebook.com/jan.h.red)