HashashinMaster / sewing_management

A sewing company manager app made to apply what i learned in Next.js and pocketbase. And because i lied to my teacher that i did an internship with a sewing company

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sewing company management app

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

Installing Node dependencies

Run npm i to install all dependencies.

Runing the app localy in developement mode

Runing Pocketbase db migrations

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.

Starting Pocketbase server

Go the api directory and run ./pocketbase serve to start pocketbase server.

Starting Nextjs server

Run npm run dev to start next.js development server.

Runing the app in production mode using Docker and Docker-compose

  1. First Make sure you have docker and docker composer installed in your machine (If you are on widnows docker compose in installed with desktop).

  2. 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.

App Demo

image thumb

About

A sewing company manager app made to apply what i learned in Next.js and pocketbase. And because i lied to my teacher that i did an internship with a sewing company


Languages

Language:JavaScript 96.3%Language:CSS 2.0%Language:Dockerfile 1.6%