jainachal03 / Task-Backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

To run the code just do npm run start:dev

Some important things :

First start the front end repository. Ensure that the local server is running on localhost:3000 ( port 3000 is necessary)

Then start the backend server by doing npm run start:dev

Now go to localhost:3000 on your browser

Clikc on LOGIN USING GITHUB

It will ask for you to authenticate

Then there will be a window asking for your permission, you would also be able to see that AgainApp would be asking for access

Click on Yes

After you Click on Yes, you will redirected to a black page

You can now go your github account, you would be able to see that a new repository with the name New Repository with some files has been created.

Remember to revoke the permissions once you have build this. VERY IMPORTANT!!

Some Major Shortcomings:

There is no database to store the user

No use of JWT to keep track of logged in user. This is important , since otherwise a user might keep clicking on the button, resulting in creation of several repositories. THOUGH It won't happen BECAUSE, Github does not allow creation of repositories with a same name.


## Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).

## Stay in touch

- Author - [Kamil Myśliwiec](https://kamilmysliwiec.com)
- Website - [https://nestjs.com](https://nestjs.com/)
- Twitter - [@nestframework](https://twitter.com/nestframework)

## License

Nest is [MIT licensed](LICENSE).

About


Languages

Language:TypeScript 83.7%Language:JavaScript 16.3%