website-blocker
February 2, 2024 ยท View on GitHub
To clone
git clone https://github.com/ArturW1998/website-blocker.git
Run the project
- Copy
.env.exampleas.envinsideapps/server - Replace the values of the environment variables with your own in the
.envfile - Run the database with the
npm run db:servercommand
npm install - install dependencies
npm run start:dev - run server + frontend project in dev mode
Scripts
npm run dev:client- Run frontend projectnpm run start:dev- Run frontend project + backendnpm run start:dev:server- Run backend servernpm run build:client- Build frontend project in prod modenpm run lint- Lint check for ts filesnpm run test:server- Run backend unit tests with jest