Skip to content

Fullstack Test - Diego Hennrich#4

Open
diegohennrich wants to merge 4 commits intohub-xp:mainfrom
diegohennrich:main
Open

Fullstack Test - Diego Hennrich#4
diegohennrich wants to merge 4 commits intohub-xp:mainfrom
diegohennrich:main

Conversation

@diegohennrich
Copy link

What is done:

  • Application backend created with NestJS
  • Application frontend created with NextJS

How to run tests:

Running Backend

  1. Enter into the backend folder.

  2. Set the .env values:
    DB_USERNAME=root
    DB_PASSWORD=root
    DB_HOST=localhost
    DB_PORT=27017
    DB_NAME=bookdb

  3. install dependencies:
    pnpm install
    docker compose up -d

  4. Run the seed: pnpm run seed

  5. To run tests, run: pnpm run test:e2e

Running Frontend

  1. Set the .env values:
    NEXT_PUBLIC_API_URL=http://localhost:3000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant