JCouce / Vacances

vacances repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hollidays-request

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.

Getting Started

Hello fella developer, this is a simple project on how to manage vacations for a small team. Hope you enjoy!

Happy coding!

Prerequisites

You will need to have installed on your computer the following packages: - Node LTS - NPM - Git - Create-react-app

Installing

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)

activate api button

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

Expected database model

Expected database model

Running the tests

No test defined yet :(

Deployment

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

Built With

Authors

  • Javier - Everything work xD - Jcouce
  • Juan - A commit per day! - Juan

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Never surrender!
  • Inspiration Stephen Grider
  • Honorable mentions to Cheto, Bobby and my parents for give me birth!

About

vacances repo


Languages

Language:JavaScript 71.6%Language:CSS 24.0%Language:HTML 4.3%