Skip to content

fntgnn/FCC_Voting_App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Voting App

Free Code Challenge: ...

Getting Started

Server folder

  • npm install
  • nodemon

You need to create the .env file in the server folder with these variables:

DB_URI = mongodb://theUrlOfTheDb
SECRET = mysecretkey

The server is listening on the port 3090.

Client folder

  • npm install
  • npm run start

You need to create a file named config.js in the client folder with these variables:

module.exports = {
    ROOT_URL: 'http://urlOfTheServer'
}

The server is listening on the port 8080.

Go to http://localhost:8080

Built With

Client

  • React - The web framework used
  • Redux - State container for React Apps
  • Axios - Promise based HTTP client for the browser and node.js

Server

  • Express - The framework used
  • Mongoose - MongoDB Object Modeling
  • Passport - authentication for Node.js. In particular JWT (passport-jwt) and local strategy (passport-local)

Author

Acknowledgments

  • Learn React and Redux from Stephen Grider courses: Modern React with Redux, and Advanced React and Redux

About

freeCodeCamp challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published