Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kraiviks/k_website_blocker
A website blocker app based on React
https://github.com/kraiviks/k_website_blocker
axios feature-sliced feature-sliced-design jest nestjs nextjs nodejs prisma react react-hook-form tailwindcss tanstack-react-query typescript
Last synced: about 1 month ago
JSON representation
A website blocker app based on React
- Host: GitHub
- URL: https://github.com/kraiviks/k_website_blocker
- Owner: kraiviks
- License: mit
- Created: 2024-02-02T12:45:41.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-03T11:31:59.000Z (11 months ago)
- Last Synced: 2024-04-14T03:15:41.294Z (9 months ago)
- Topics: axios, feature-sliced, feature-sliced-design, jest, nestjs, nextjs, nodejs, prisma, react, react-hook-form, tailwindcss, tanstack-react-query, typescript
- Language: TypeScript
- Homepage:
- Size: 374 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# k_website_blocker
## To clone
- You'll need to have [git](https://git-scm.com/), [node v16+](https://nodejs.org/en/) and [docker](https://www.docker.com/) installed in
your system.`git clone https://github.com/kraiviks/k_website_blocker.git`
## Run the project
- Copy `.env.example` as `.env` inside `apps/server`
- Replace the values of the environment variables with your own in the `.env` file
- Run the database with the `npm run db:server` command```
npm install - install dependencies
npm run start:dev - run server + frontend project in dev mode
```---
## Scripts
- `npm run dev:client` - Run frontend project
- `npm run start:dev` - Run frontend project + backend
- `npm run start:dev:server` - Run backend server
- `npm run build:client` - Build frontend project in prod mode
- `npm run lint` - Lint check for ts files
- `npm run test:server` - Run backend unit tests with jest