These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Download and install Nodejs
- Download and install PostgreSQL
- A web browser (e.g. Google Chrome, Mozilla Firefox, Microsoft Edge)
- A text editor (e.g. Visual Studio Code, Sublime Text)
- A platform for testing APIs like Postman
- Clone the repository to your local machine:
https://github.com/mohamadelhinamy/AirMan.git
- Install required packages
npm install
- Configure the environment variables, such as the database URL.
npm run prisma:migrate
npm run build
thennpm run dev
- package.json
- .gitignore
- .prettierrc
- tsconfig
- tslint.json
- .env (not committed)
- .env.default (commit it)
- README.md
- src
- app.ts
- config.ts
- index.ts
- routes
- [routeFileName].ts
- index.ts
- modules
- [module name]
- repos
- [moduleNameRepo].ts
- services
- [moduleNameService].ts
- interface
- [IModuleName].ts
- index.ts (In which you export your modules' services)
- repos
- [module name]
- database
- Prisma
- migrations
- schema.prisma
- client.ts
- Prisma
- core
- route.ts
- TypeScript
- Nodejs
- Express.js
- PostgreSQL
- Prisma (ORM)