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.
- to give people a voice in an anonymous, open source way.
- write notes, make them public or private.
- create public or private journals and journal entrie.
- customize your experience by selecting from a bunch of theme's both for the app and for the journals.
- be nice.
- a pull request does not mean it will be merged.
- this is a hobby project, so don't expect a quick response but i'll try my best!
- discuss the changes you want to make in the issue before making a pull request. don't make a pull request without an issue.
- any contributions fall under MIT License.
- run
git clone https://github.com/is-it-ayush/athing && cd athing
. - copy
.env.example
to a new file called.env
and fill in the values. - run
pnpm install
to install the dependencies. - run
pnpm dev
to start the development server.
- run
docker run --name athing-postgres -e POSTGRES_PASSWORD=athing -e POSTGRES_USER=athing -e POSTGRES_DB=athing -p 5432:5432 -d postgres:latest
. - put
postgresql://athing:athing@localhost:5432/athing
in theDATABASE_URL
field in the.env
file. - run
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. |