- Single Responsibility Principle: Each class has a unique responsibility;
- Open/Closed Principle: Application classes must be open for extension but closed for modification;
- Liskov Substitution Principle: We should be able to replace a parent class with an inheritance from it and everything still works;
- Interface Segregation Principle: Segregate Interfaces;
- Dependency Inversion Principle: Instead of the class fetching the dependencies it needs, the context informs the class of the required dependencies;
Clone the project and access the folder.
$ git clone https://github.com/Kyuorhan/nlw-setup-ignite.git
$ cd nlw-setup-ignite
- π Install the server dependencies
$ cd server
$ npm install
- π Configure database connection
# Create file type " .env " and add this variable
> DATABASE_URL="file:./dev.db"
- β¨ Start the server project
$ npx prisma migrate deploy
$ npm run dev
- π Install the web dependencies
$ cd web
$ npm install
- β¨ Start the web project
$ npm run dev
- π Install the mobile dependencies
$ cd mobile
$ npm install
- β¨ Start the mobile project
$ npx expo start
You can view the project layout through the links below:
Remembering that you need to have a Figma account to access it.
Made with π by Jhonny Kyuorhan, follow me on social. π±βπ»