Loading repository data…
Loading repository data…
antoniopataro / repository
🛒 a simple fullstack e-commerce made with next.js.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
When I first started learning web development, for me, e-commerces were the big thing to test your skills. Due to that, I decided to build one myself.
This current version is a refactor of one I made mid-2022, which may be here.
In the making, I also took the chance to learn some back-end stuff by using real databases. It may look silly, but was a real broken barrier for me.
Honestly, it's not worth the trouble... but, if you really want to, follow along:
git clone git@github.com:antoniopataro/e-commerce-refactor.git;npm install or other package manager you might wanna use;.env file and set DATABASE_URL to your PostgreSQL connection address;npx prisma migrate dev to create the default tables in the database;npm run dev for a development version or npm run build && npm start for a production preview version.You'll probably see no data. No, there's no seed command. However, there's a primitive admin interface I've created to manage products somewhere around the routes. Try accessing it.
If something breaks, feel free to make a pull request.