I made a sewing company management because i lied to my teacher that i did an internship with a sewing company.
The app made using Next.js and pocketbase with other tools. see package.json file to see all the dependencies
Run npm i
to install all dependencies.
The pb_migrations folder contain migrations scripts that will create all the collections necessary for the app to work.
Go the api directory and run ./pocketbase migrate
.
Go the api directory and run ./pocketbase serve
to start pocketbase server.
Run npm run dev
to start next.js development server.
-
First Make sure you have docker and docker composer installed in your machine (If you are on widnows docker compose in installed with desktop).
-
Run
docker-composer up
. This command will create the images if they are not already created and start 2 containers, one for the pocketbase and the other for next.js.