NFT marketplace Web Application with a backoffice to manage gift codes
Market@App
NFT marketplace Web Application with a backoffice to manage gift codes . The web interface allows you to Creat, Read and Update and a shopping cart and gift codes.
This Application use a file to save and read data, this way the gift codes and market data will persist, itβs useful for building apps running quickly before setting up a full database.
Demo
Development
The developpment tasks can be splitted into Functional and Thecnical Assigments.
Funtional Assigments:
πΉ Navigation between the Market and the Back office.
πΉ Creation, Reading, Updating, Cart and Gift Code
πΉ User can add NFT to the cart, then edit the cart, checkout and apply a gift code
π A code can only be applied up to stock out.
π A code can only be used up to 2 months after creation date, the code APPLE20 can be used to test this feature.
π A code can only be applied if a minimum purchase amount is reached, set at β¬50.
π A code can be revoked at any time, which makes it unusable, this occurs when the status change from active to inactive.
π A revoked code cannot be reactivated
Thecnical Assigments:
πΈ Clean code
πΈ Code documentation
πΈ Responsive Style
πΈ Splitting an application into separate layers (ui, service, pages, layouts).
πΈ Data and State persistence (No Database implementation Request)
πΈ Nexts13 New Route Handlers API
Route Endpoints
π http://localhost:3000/api/health-check
π POST, PUT, PATCH http://localhost:3000/api/gift-code
π GET, POST, PUT, PATCH http://localhost:3000/api/gift-code
π GET, PUT, http://localhost:3000/api/gift-code
Running Application π₯οΈ (The asiest way π)
Once youβve cloned the project to your machine you can launch the project. Easy! ππ»
- Navigate to the directory in which you cloned the project.
cd danim-market
- With docker
docker-compose up
- Locally, install node dependencies using npm or yarn
yarn OR npm i
- Run Client
yarn dev
Doubts? Ideas? Corrections?
Send an Issue, a pull request or knock me at https://hello@jesusgarnica.io