Skip to content

matteofedericopazienza/ws-eng-conduit-ai-assessment-master

Repository files navigation

Conduit

This repository contains a full-stack TypeScript application consisting of a NestJS backend and an Angular frontend.

Prerequisites:

  • Docker or a locally running MySQL installation
  • NodeJS 16+ (tested with v18.13.0)
  • Code Editor (VSCode is recommended)

Getting started:

  • Install the dependencies npx yarn install.
  • If you don't have a local MySQL installation, start one in docker: docker run -d -p 3306:3306 --name mysql -e MYSQL_ROOT_PASSWORD=conduit -e MYSQL_DATABASE=conduit -e MYSQL_USER=conduit -e MYSQL_PASSWORD=conduit mysql:8.1
  • Adjust the apps/backend/mikro-orm.config.ts with your MySQL credentials (they already match the ones from the docker command above).
  • Start the app (both backend and frontend at once): npm start.
  • After the backend successfully starts, in a new terminal npm run seed to seed the database with some initial data.
  • You can now access the UI at http://localhost:4200 and login with [email protected] / password.
  • You can also find the backend API spec at http://localhost:3000/docs.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published