Api authentication system for voosh
Steps to follow:
-
Git clone the repo
-
Save the env file sent in the mail in the root folder, just outside src. Kindly set port to 3000.
-
If you want to dockerize, run :
- sudo docker build -t my-app .
- docker run -p 3000:3000 my-app
-
Else run:
- yarn build
- yarn start
-
Points to note: Due to time constraints, there are some issues like google and github oauth need to be accessed from the terminal as swagger shows failed but it actually doesnt fail. The response for both of these will be a new page with the tokena and userId. I am aware that is a security issue, but it is good for demonstrations.
-
Setup Swagger interface on Local