Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/trpiano/cabeleleila-leila-dsin

The Cabeleleila Leila project is a project to manage a beauty salon and schedule and modify appointments for its clients.
https://github.com/trpiano/cabeleleila-leila-dsin

express google-oauth2 next-auth nextjs nodejs project-image reactjs styled-components

Last synced: 20 days ago
JSON representation

The Cabeleleila Leila project is a project to manage a beauty salon and schedule and modify appointments for its clients.

Awesome Lists containing this project

README

        


Desafio Cabeleleila Leila - DSIN






Made by

Repository size

GitHub last commit

GitHub

## Screenshots


cabeleleila-leila-dsin





cabeleleila-leila-dsin





cabeleleila-leila-dsin





cabeleleila-leila-dsin





cabeleleila-leila-dsin





cabeleleila-leila-dsin





cabeleleila-leila-dsin





cabeleleila-leila-dsin





cabeleleila-leila-dsin




## Instruções

**Instruções para executar o front-end:**

```bash
git clone https://github.com/trpiano/cabeleleila-leila-dsin.git
cd cabeleleila-leila-dsin/front-end
npm install
# or
pnpm i
# or
yarn install

# Run the project
npm dev
# or
pnpm dev
# or
yarn dev

# The server will initialize in the
```

**Instruções para executar o back-end:**

```bash
git clone https://github.com/trpiano/cabeleleila-leila-dsin.git
cd cabeleleila-leila-dsin/back-end
npm install
# or
pnpm i
# or
yarn install

# Run the project
npm start
# or
pnpm start
# or
yarn start

# The server will initialize in the
```

## Variaveis de Ambiente (.env)

```bash
# Renomeie o arquivo .env.example como o exemplo abaixo
$ cp .env.example .env.local

# Adicione suas informacoes nas variaveis de ambiente

GOOGLE_CLIENT_ID= #ID Client do Google OAuth2
GOOGLE_CLIENT_SECRET= #Chave Secreta do Google OAuth2;
NEXT_PUBLIC_SCHEDULE_API= #Adicione a URL do back-end deste repositorio;

#O .env.example esta com variaveis utilizadas para teste em local, caso queira, nao e necessario configurar novamente.
```

## Testes como usuario Admin

Insira o objeto abaixo dentro do array no arquivo "admin.json" para que o mesmo possa ser listado como usuario Admin.

```javascript
{
"admins": [
{
"name": "Nome do usuario",
"email": "[email protected]" //Mesmo email usado no Google OAuth, caso contrario nao tera acesso.
}
]
}
```

## Tecnologias Usadas

- [X] NextJS 14
- [X] Next-Auth
- [X] Styled-Components
- [X] NodeJS
- [X] Express


Made with 💜 by Timoteo Reinheimer Piano

 

Back to top