A simple Fullstack Authentication service.
- Backend: Node/Express, Graphql, sql
- Libaries: sequelize-typescript, sequelize, apollo-server-express, graphql-tools, express, typescript, react, react-redux
- SENDER_EMAIL=
- FORGOT_PASSWORD_ALIAS=
- PORT=3030
- BRAND_NAME=
- JWT_SECRET=
- tokenExpiresIn=
- database=tutorial
- dialect=postgres
- username=postgres
- password=postgres
- host='127.0.0.1'
http://localhost:3030
Endpoint |
Functionality |
POST /user/signup |
Register user |
POST /user/login |
Login user |
POST /user/forgot_password |
Send a request to user to change password |
GET /user/find_user |
Find a register user by email |
GET /user/reset_password |
Change user password |
POST /book/create |
Add book |
GET /book/list |
List book |
Endpoint |
Functionality |
POST /graphql |
List of books |
- Download or clone
- Open terminal inside the root directory of clone folder
- To start Backend service change directory to the Backend folder
- To start Frontend service change directory to the Frontend folder
- Type
npm install or yarn install
to install all dependencies
npm start
to run the app
- To run backend service on local machine run below command on your terminal
npm run dev
to run development environment
Kayode Adeyemi