This is a repo about company, that will lead with several clientes and product that will have a commission.
About • Features • Demo • Running the project • Running the test • Tech Stack • How to contribute • Author • License
** AMcom ** - is a project that leads with API in DRF to communicate with a React aplications, to build a market-place and make querys for the user know about several things.
✔️ Route to register a new client. (It's called user within API and database)
✔️ [optional] Route to validate a reseller login and obtain a token.
✔️ Route to register a new product.
✔️ Route to launch products by date and time and quantity.
✔️ Route to consult salesperson data commission in a given period.
✔️ [optional] Interactive documentation with (swagger)
✔️ Database PostgreSQL
✔️ Database Migrations
✔️ Micro-services with front-end with React to consume back-end
The application is available on heroku and vercel:
UML about system:
Before you begin, you will need to have the following tools installed on your machine:
for this application you will need python version 3.8 +
1. Clone this repository: `$ git clone https://github.com/linikerunk/amcom-market-place.git` 2. Create a virtualenv:
`$ python3 -m venv name_venv`
3. Activate your env (Linux): `$ source name_venv/bin/activate` 3. Activate your env (Widowns): `$ cd name_venv/Scripts && ./activate` 4. Install the dependencies: `$ pip install -r requirements.txt`
Django up your server
cd backend
python manage.py migrate
python manage.py runserver
React start server
```sh cd frontend yarn yarn devrunning into 3333 port
---
## 🪓 Running the test
```sh
cd backend
python manage.py test tests\api
python manage.py test tests\models
python manage.py test tests\serializers
python manage.py test tests\services
# see if the tests is ok with coverage.
coverage run -m unittest
The following tools were used in the construction of the project:
Dependences
- Fork the project.
- Create a new branch with your changes:
git checkout -b my-feature
- Save your changes and create a commit message telling you what you did:
git commit -m" feature: My new feature "
- Submit your changes:
git push origin my-feature
![](https://github.com/linikerunk.png?raw=true)
Liniker Oliveira 🚀
This project is under the license MIT.