CarMate.info is an application where you can keep track of your vehicle's maintenance and preventative measures. Keeping track of your vehicle's maintenance will help you extend the life of your vehicle.
This application was built using a MERN stack including:
- MongoDB
- Express.js
- React.js
- Node.js
Included in the application's dependencies are:
- Mongoose.js for modeling the saved data
- Passport.js using Google OAuth
$ git clone https://github.com/rebecalvarez/mern-project.git
$ npm iMake sure you generate the following API keys from the appropriate website:
- CarMD API
- Google+ API for Google OAuth
- MongoDB user credentials*
Once you have all the keys generated, create a new file in ./.env folder, and include the keys as follows:
REACT_APP_CARMD_AUTH_KEY=insertCarMDAuthKey
REACT_APP_CARMD_PARTNER_TOKEN=insertCarMDPartnerToken
GOOGLE_PLACES_API_KEY=insertGooglePlacesAPIKey
GOOGLE_USER_CLIENTID=insertGoogleUserClientID
GOOGLE_USER_CLIENTSECRET=insertGoogleUserClientSecret
MONGODB_URI=insertMongoDBURI
SESSION_COOKIE_ENCRYPT=insertSessionCookieEncryptOnce the application dependencies are installed, and the .env file has been configured, run the application using the command:
npm start