This is the Github repo for Team 32 on the debtors web application. This project is a platform that allows schools in a certain locality list directory of people owing them - to help them avoid going to other schools. This service is a Microservice web application. The frontend was developed with React.js and Backend was developed developed using Django.
- username: testadmin
- password: zuridma123
-
Clone the repo and open the project on your prefered code editor
git clone https://github.com/zuri-training/my-debtors-team32.git
-
Change directory to the frontend directory
cd dma_frontend
-
Using your terminal set your remote connection to the main repo
git remote add origin https://github.com/zuri-training/my-debtors-team32.git
-
Create a new branch for your work
git checkout -b <type_your_new_branch_name_here>
-
Install all dependencies for the project
yarn install
-
Start the development server
yarn start
-
First create an issue using one of the specified templates. Please describe in clear details what you are doing so that other people can understand. See this short explanation for a brief explanation
-
On your laptop stage all your changes and commit them to the zuri repo
git add .
git commit -m "A short message here"
git pull origin main
/*
The above step will update your current files and folders
with any changes that might have been merged on main repo.
In case you have merge conflicts, see the next step
on how you can resolve them
*/
git push origin <type_your_new_branch_name_here>
- If you have any merge conflict, you can watch this video on how you can resolve them. Also the same video will show you to make a Pull Request to the repo. Please follow every instruction stated in this video
-
Clone the repo with this link
https://github.com/zuri-training/my-debtors-team32.git
and open in a code editor. -
Change directory to the backend directory
cd DMA_backend
-
Create a virtual environment and type
python -m pip install -r requirements.txt
-
Set up database with PostgreSQL or Sqlite3. Change the database in DMA/settings to run data base of your choice. For production, PostgreSQL is preferred.
-
Start development server
python manage.py runserver
To view API Endpoints type 127.0.0.1:800/docs/