This repository contains the backend application of a Umurava challenge developped by CJJ-Team
- Table of content
Umurava challenge project
- Frontend: HTML, CSS, Typescript(React)
Authentication: JWT for secure access control Email Notifications: Nodemailer for sending email notifications Hosting: Deployed on Netlify for the frontend and render for the backend.
For those who are interested to use it locally,he/she is required the following:
- Node.js
- Packages
- Mongodb database
- Git
- Clone the repository from github https://github.com/Lapidis2/challenge_bn
- Run
npm installto install all package dependencies - Copy the environment configuration:
cp .env.example .envyou can update the values of .env file with yours. - To run mongodb use the following command:
npm run dev - Run the project using this command
npm start - running test by
npm test
To contribute to this project:
- Clone the repository
- Create your own branch to avoid direct pushing to main brach without creating pullrequest and get reviewed.
- feature(ft):
git checkout -b ft-name-of-the-feature-bn-TrelloId - chore(ch):
git checkout -b ch-name-of-the-chore-bn-TrelloId - bug(bd):
git checkout -b bg-name-of-the-bug-bn-TrelloId
- Then you can commit any changes you made by:
git commit -m "your commit message" - Push your changes to the branch you created
git push origin your-new-branch-name - create a pull request and wait for review from other collabolators
The following are steps to create your api documentation:
- Navigate to the location
src/api-docs. Create a.yamlfile. - Write your documentation in the file.
No need to set up Swagger-related things in
server.tsagain.⚠️ You must know that YAML strictly follows indentation
Deployed_link:https://umurava-skill-challenge.netlify.app
swagger-link:https:https://umurava-challenge-bn.onrender.com/api-docs/
This project is licensed under the MIT License. See the LICENSE file for detail.