This is a simple project to manage hollidays requests from a team, and to be aproved / denied by an administrator. In the future steps there should be alerts and analytics that allows the administrators to expand the knowledge of their team.
Hello fella developer, this is a simple project on how to manage vacations for a small team. Hope you enjoy!
Happy coding!
You will need to have installed on your computer the following packages: - Node LTS - NPM - Git - Create-react-app
A step by step series of examples that tell you how to get a development env running
Download the project.
git clone https://github.com/JCouce/Vacances.git
Create a google application.
go to https://console.developers.google.com and create a new app!
Activate the Google+ API and get a set of keys (client, secret)
Instanciate the keys in server/config/dev.js to fulfill all the key use on the mongo, google..
- googleClientID: '<YOUR CLIENTID>',
- googleClientSecret: '<YOUR CLIENTSECRET>'
- mongoURI: '<YOUR MONGO URI>'
- cookieKey: '<A STRING YOU USE TO ENCRYPT THE COOKIE>'
...You can find a template of the keys in the file server/config/prod (just replace the values for yours)...
Read the server/package.json scripts section
π₯π₯π₯ -> ππππ <- π₯π₯π₯
Initiate the server and the client using the "NPM RUN DEV" script
npm run dev
No test defined yet :(
This project is prepared to be deployed on a Heroku enviroment, heroku postbuild script is ready, just be sure to initiate the create-react-app in a folder server/client
- React - The web framework used
- Webpack - Dependency Management
- Express - Used to generate the server
- PassportJS - Used to handle the auth process
- Concurrently - Used to develop in just one terminal
- MongoDB - Non relational DB
- Mongoose - Used to manage the database model
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Never surrender!
- Inspiration Stephen Grider
- Honorable mentions to Cheto, Bobby and my parents for give me birth!