Kyuorhan / nlw-setup-ignite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Taught by Rocketseat Forks Stars


Habitto Life πŸ’ͺ

πŸ› οΈ  Technologies

This project was developed using the following technologies:

✨  SOLID

Principles:

  • 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;

πŸš€  Getting started

Clone the project and access the folder.

$ git clone https://github.com/Kyuorhan/nlw-setup-ignite.git
$ cd nlw-setup-ignite

⚑️  Quickstart

βš™οΈ  Server

  • πŸ“  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

πŸ–₯️  Web

  • πŸ“  Install the web dependencies
$ cd web
$ npm install
  • ✨  Start the web project
$ npm run dev

πŸ“±  Mobile

  • πŸ“  Install the mobile dependencies
$ cd mobile
$ npm install
  • ✨  Start the mobile project
$ npx expo start

πŸ”– Layout

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. πŸ±β€πŸ’»

About

License:MIT License


Languages

Language:TypeScript 90.2%Language:CSS 4.9%Language:JavaScript 3.8%Language:HTML 1.1%