Projeto fullstack desenvolvido como desafio técnico.
Yomu mangá serve para você ler sinopses e salvar mangas que queira ler!
É claro, tudo isso salvando na sua conta!
- Docker
- Docker Compose
- NPM package manager
- Node (18.16.0)
- PostgreSQL
- Clone the repository:
git clone https://github.com/iagopiresdev/fullstack-challenge
- Change to the project directory:
cd fullstack-challenge
- Change to the server directory:
cd server
- Create a
.env
file and add the required enviroment files (See below) - Build the Docker containers:
docker-compose up --build
- Runs on: http://localhost:4000
-
Change to the root directory:
cd ..
-
Change to the client directory:
cd client
-
Install dependencies using npm:
npm install
OR
Install dependencies using Yarn:
yarn install
-
Create a
.env
file and add the required enviroment files (See below) -
Run the command
npm run dev
Variable Name | Description |
---|---|
VITE_API_HOST | The URL for connecting to the database. |
Variable Name | Description |
---|---|
POSTGRES_USER | The username for connecting to the PostgreSQL database. |
POSTGRES_PASSWORD | The password for the PostgreSQL user. |
POSTGRES_DB | The name of the PostgreSQL database to be used. |
DATABASE_URL | The URL or connection string for the PostgreSQL database. |
JWT_SECRET | The secret key used for authentication and encryption. |
RAPID_API_KEY | Required to access the RapidAPI APIs. |
RAPID_API_HOST | The host or base URL for the RapidAPI services or APIs. |
Feel free to ask me anything on [email protected]!