Skip to content

A full stack application to perform CURD of duties.

Notifications You must be signed in to change notification settings

s99100532/duty-todo

Repository files navigation

Duty ToDo App

Duty ToDo App is a full-stack application that allows you to perform CRUD operations on duties. The repository is structured as a monorepo, consisting of two components: frontend and backend.

Prerequisites

Before getting started, make sure you have the following prerequisites installed:

  • NodeJS >= 18
  • pnpm (optional, but recommended for workspace feature)
  • PostgreSQL or Docker

Getting Started

Follow the steps below to start using the Duty ToDo App:

1. Start the Backend

Navigate to the backend directory:

cd backend

Install the dependencies using your preferred package manager (e.g., pnpm, yarn, or npm):

pnpm install

If the PostgreSQL database is not already running, start it using Docker:

docker compose up -d

Update the database.json file for database migration.

Run the database migration to set up the schema:

pnpm db-migrate up

Create a file for environment variable injection during development:

cp .env.example .env.local

Start the backend server:

pnpm dev

2. Start the Frontend

Open another terminal window and navigate to the frontend directory:

cd frontend

Install the dependencies using your preferred package manager:

pnpm install

Create a file for environment variable injection during development:

cp .env.example .env.local

Start the frontend development server:

pnpm dev

For more commands and information, please refer to the corresponding component's documentation.

How to Use the Application

For instructions on how to use the application, please refer to the User Documentation located in the "doc" directory.

About

A full stack application to perform CURD of duties.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published