Skip to content

Simple login authenticator connected to the Twitter API, developed using the impressive Passport.js library.

Notifications You must be signed in to change notification settings

karttofer/twitter-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Auth-Login

Hi, this is a simple Twitter authentication login; there isn't more than that. Additionally, there are some routes that you can use, but I think you will need to input your own credentials.

So, if you encounter an error related to credentials, you will need to create an .env file inside the project folder by following these steps:

  • First, you will need to create a Twitter application to obtain KEY and SECRET credentials.
  • This project also uses MongoDB, so you will need MongoDB credentials as well.
  • Once you have everything, you will need to create a .env file following this structure:
TWITTER_API_KEY=<credentials>
TWITTER_API_SECRET=<credentials>
MONGODB_API=<credentials>

Finally, you will be able to run:

node server.js

Tech Stack

Simple tech stack to create this simple nodejs app

  • Node
  • Expresss
  • Mongodb
  • Mongoose
  • express-session
  • Passport.js / Passport-Twitter

About

Simple login authenticator connected to the Twitter API, developed using the impressive Passport.js library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published