athing. is a platform that provides a safe, secure and an anonymous environment for everyone who want's to journal, rant, vent or help other's in their lives.
MIT License
Visit: athing.isitayush.dev
athing. is a platform that provides a safe, secure and an anonymous environment for everyone who want's to journal, rant, vent or help other's in their lives.
git clone https://github.com/is-it-ayush/athing && cd athing
..env.example
to a new file called .env
and fill in the values.pnpm install
to install the dependencies.pnpm dev
to start the development server.docker run --name athing-postgres -e POSTGRES_PASSWORD=athing -e POSTGRES_USER=athing -e POSTGRES_DB=athing -p 5432:5432 -d postgres:latest
.postgresql://athing:athing@localhost:5432/athing
in the DATABASE_URL
field in the .env
file.pnpm db:push
to push the migrations to the database.command | description |
---|---|
pnpm build |
builds the next.js app. |
pnpm clean |
removes all the node_modules and .next folders. |
pnpm db:gen |
generates the prisma client. |
pnpm db:migrate |
runs the prisma migrations. |
pnpm db:push |
pushes the prisma schema to the database. |
pnpm db:reset |
resets the prisma migrations. |
pnpm dev |
starts the development server. |
pnpm format |
checks the code for formatting issues. |
pnpm format:fix |
fixes the formatting issues. |
pnpm lint |
checks the code for linting issues. |
pnpm lint:fix |
fixes the linting issues. |
pnpm start |
starts the production server. |
pnpm typecheck |
checks the code for type errors. |
pnpm test |
runs the tests. |