This project is a stardart Oauth2 implementation (Just the data server) It's a working in progress the auth server can be found here auth server
Some notes before you continue, I'm using the same DB to the auth server and the data server
so you the ormconfig.json must have the same DB. Also to run this project you need to run the auth server
in another port (recomend using 3000 to auth and 3005 to this one)
- Validade requests
- Authentication middleware
- Authorization middleware
- A basic CRUD
you must create an .env file to and set the following properties
PORT=your_port
- [] Create user
- [] Authentication middleware
- [] Authorization middleware
- [] A basic CRUD
- Oauth server click here! as your authenticator and authorization
- SPA usage click here! (as your main app)
- Back-end click here! Using as a data server
- Back-end click here! usage (as a third party app)
MIT License
Copyright (c) 2021 Natal
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.