The project uses NodeJS version 20 or later. Make sure your local environment is using this version. Ideally use nvm or similar.
To start the project run make up-first-time.
- /immigration-assessment
- /auth
- /leads
src
|
|--app (next.js app router)
| |--api/v1 (domains inside: assessment & auth)
| |--(frontend routes: page specific component live together with the page component)
|
|--lib (any code that would work like an external library)
| |--definition
| |--domain (frontend repositories)
| |--Network (network layer: axios abstraction)
| |--util (generic utilities and hooks)
|
|--providers (ChakraUI and Query provider)
|
|--ui
| |--base (base components: abstractions and atomic components)
| |--components (mid level components)A more manual way to run the project is by:
- install dependencies with
pnpm i - run the command
make upon a terminal window/tab - on a different terminal run
make migrateto apply the existing migration to the DB.