PrivNote v.2 is a free service that lets you send secret messages.
src/app/
: Application pages.src/features/
: Stores different features used in the app.src/server/
: Holds the server-side code.src/server/db/
: Contains database related files, including migrations.src/utils/
: Utilities used in the application.src/components/
: Stores reusable React components.src/lib/
: Contains library functions.public/
: Stores static files like images..env
: Environment variables file.
- Node.js (v16 or later)
- Docker
- Clone the repository:
git clone https://github.com/gashon/privnote
- Move into the directory:
cd privnote
- Install dependencies:
pnpm install
(ornpm install
if you prefer)
- Create a
.env
file and fill it with the necessary environment variables based on the.env.example
file. - Start docker
- Run the app in the development mode:
pnpm run dev
- Open http://localhost:3000 to view it in the browser.
- Build the app for production:
pnpm run build
- Start the server:
pnpm run start
This project is licensed under the MIT License - see the LICENSE.md file for details.