This monorepo contains apps and packages for creating a fullstack web application, which display information about pilots, who breach no drone area. Done as a pre-assignment for Reaktor 2023 summer internship.
.
├── apps
│ ├── nextjs-app # Fullstack web application, created with Next.js
│ ├── backend-app # Backend service, which runs on background and collects drones
│ └── prisma # Prisma ORM Database Schema
├── packages
│ ├── types # shared types
│ └── utils # Shared functions
├── LICENSE
└── README.md
This project uses Yarn as a package manager. You can install it with Homebrew:
brew install yarn
- Clone or download the repo to your local machine
- Run
yarn
in the root folder to install dependencies - Run
yarn prepare
to build the project - Run
build:utils
to build the utils and types package
- Run
yarn dev:frontend
to start the frontend application - Open http://localhost:3000 with your browser to see the result.
- Run
yarn dev:backend
to start the backend service
This project uses Prisma as an ORM for the database. You can install it with Homebrew:
brew install prisma
or use it with npx:
npx prisma
Run yarn prisma:generate
to generate the prisma client
Make sure to provide the correct database credentials in the .env
file.
Prisma uses DATABASE_URL
environment variable to connect to the database.
there are some limitations in this project, which are not implemented yet:
- Add more tests
- Add Docker support
- Add CI/CD support
- Add more documentation
The following technologies and tools are to build this project:
Licensed under the MIT License, Copyright © 2022 Aleksandr Shchilkin See LICENSE for more information.