Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 1.15 KB

File metadata and controls

56 lines (34 loc) · 1.15 KB

todo-list-fullstack

Quick Start

  1. Fill out envrionment variables:

    Go into client and fill out .env file: cd client

    Go into server/config and fill out dev.env file: cd server/config

  2. Start Application:

    With Docker (tested on wsl2):

    Start Application:

    docker-compose up app

    See output for services in seperate terminal:

    docker-compose logs -f app

    docker-compose logs -f server

    Without Docker:

    Client:

    1. Go into client directory:

    cd client

    1. To start client:

    npm i && npm start

    Server:

      1. Go into server directory:

      cd server

      2. To start server:

      npm i && npm run dev

    Run Unit Tests

    1. Fill out envrionment variables:

      Go into server/config and fill out test.env file:  cd server/config

    2. Start Application:

      With Docker (tested on wsl2):

      docker-compose up test

      Without Docker:

      cd server

      npm run test