Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/trpiano/cabeleleila-leila-dsin
- Owner: trpiano
- License: mit
- Created: 2024-04-22T21:57:36.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-10-22T00:07:53.000Z (3 months ago)
- Last Synced: 2024-11-11T23:05:10.671Z (3 months ago)
- Topics: express, google-oauth2, next-auth, nextjs, nodejs, project-image, reactjs, styled-components
- Language: TypeScript
- Homepage:
- Size: 701 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Desafio Cabeleleila Leila - DSIN
## Screenshots
## 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