Skip to content

yan-english/yan-monorepo

Repository files navigation

Project Name

Yan Flashcards

Description

This project consists of two main parts: yan-web and yan-api.

  • yan-web: A React-based frontend application.
  • yan-api: A NestJS-based backend application.

Prerequisites

  • Node.js (version 16.x or higher)
  • pnpm (version 8.x or higher)
  • Docker

Installation

  1. Clone the repository:

    git clone https://github.com/yan-english/yan-monorepo.git
    cd yan-monorepo
  2. Install dependencies for both yan-web and yan-api:

    pnpm install

Running the Applications

Running yan-web

pnpm run web:dev

Running yan-api

  1. Cd to yan-api folder and create a .env file in the yan-api directory with the content based on the .env.example file.

  2. Run docker compose file to start the depends servives such as the database and the caching:

 docker compose up -d
  1. Seed data to the database:
pnpm run init-data:seed

After ran the seed data, we have the admin account with the following information:

email: admin@gmail.com
password: Admin@1234
  1. Start the API server:
 pnpm run start:dev
  1. See the API documentation at http://localhost:3000/docs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages