This is backend server for the website I made for my capstone project in the web-fullstack course. The website was developed with the purpose of helping charitable organizations collect donations from the community conveniently and quickly. At the same time, Charitee also helps users find ongoing charities and participate in charitable activities.
This repository only includes the back-end part of my website. You can visit the front-end part here.
Technologies I used include:
- NodeJS
- ExpressJS framework
I also used:
- SendGrid (for sending verification email)
- bcryptjs
- jsonwebtoken
- MongoDB (using Mongoose)
- Paypal
The design of this website I gathered from the internet and not from my idea.
Use the package manager npm to install necessary dependencies.
npm install
Run the website in your local
npm start
Path | Method | Param | Description |
---|---|---|---|
/account/login | post |
Body:
|
|
/cause | get |
Query:
|
|
/cause | post |
Body:
|
|
/cause | put |
Body:
|
|
/cause/delete | post | - causeID |
|
/account | get |
Query:
|
|
/account/[accountID] | put |
Body:
|
|
/account | post |
Body:
|
|
/account/delete | post | - accountID |
|
/donations | get |
Query:
|
|
The data will be displayed in the demo link
This repository is BE only, you can see the source code of FE here.
Link: demo