An application that allows the upload of transactions file of products sold to normalize the data and store them in a relational database. Some features:
- Details of the products
- Details of the transactions
- Analytics
Use the file sales.txt to upload.
- Desafio - Challenge
- API Routes - API docs
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Prerequisites
- Docker
- docker-compose
- Copy
.env.exampleto.envand configure if necessary. - Run
docker-compose up -d - Running on
localhost:80✨
Admin account:
- Username: admin
- Password: admin@123
Prerequisites
- NodeJS
- npm
- PostgreSQL or use docker container 🙏
- Copy
.env.exampleto.env. yarnornpm installyarn prisma generateyarn prisma migrate deployyarn prisma db seed(create admin account)- Running... ✨
Admin account:
- Username: admin
- Password: admin@123
- Check
.env.testand configure if necessary. yarn test:docker- Running... ✨
- Make a screen (by forms) to upload the file
- Make the parsing of the received file, normalize the data and store them in a relational database, following the file interpretation settings
- Show a list of product transactions imported by producer/affiliate, with a totalizer of the value of the transactions carried out
- Treat the backend errors, and report messages of friendly erros in frontend.
More details and stages of the roadmap can be accessed at ROADMAP.md
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Gustavo Lima - @kjkGustavo - contato@gustavolima.dev
Project Link: https://github.com/kjkGustavo/transactions
