Quick Start
- Install PostgreSQL
- Make your password simple - no special characters, otherwise you will need to Percent Encode (otherwise known as URL Encode) the password.
- Install Node.js and NPM
- Install git
- Install your favorite Integrated Development Environment
- Clone the FreshKeep Repository
git clone https://github.com/freshkeepuh/freshkeep.git
- Install the dependencies
npm install
- Update npm if necessary
- Create the Database
createdb freshkeepuh
- On Windows, you should use pgAdmin to create the database.
- Create .env file using sample.env as template
- Set DATABASE_URL to “postgresql://postgres:{password}@localhost:5432/freshkeepuh”
- Replace ‘{password}’ with the postgres root password
- Set NEXTAUTH_SECRET to Long (64 characters or more) Random String
- For example, you can generate one using:
openssl rand -base64 64
- Create the Database Schema
npx prisma migrate dev or npm run migrate
- Seed the Database Schema
npx prisma db seed or npm run seed
- Start the Node.js Server in Development mode
- Open your web browser to the Home Page
Testing
- Install Playwright with Dependencies (only once)
npx playwright install --with-deps
- Run Playwright
npx playwright test or npm run test
Draft Entity Relationship Diagram

Draft Tech Stack Flowchart

Draft Page Flowchart
