A web app to crop and upload images of 4 different size to cloudinary server.
- Perform a clone of this repo
git clone https://github.com/arbazsiddiqui/Snapshot
- Install Mongodb on your system.
- Install the required packages
npm install
- If you want social auth obtain your google and facebook ID's and secret's.
- Get your cloudinary credentials.
- Create a secret.js file in the main project folder :
module.exports = {
googleClientID : 'googleClientID',
googleClientSecret : 'googleClientSecret',
facebookClientID : 'facebookClientID',
facebookClientSecret : 'facebookClientSecret',
sessionSecret : 'sessionSecret',
cloudinaryCloudName : 'cloudinaryCloudName',
cloudinaryApiKey : 'cloudinaryApiKey',
cloudinaryApiSecret : 'cloudinaryApiSecret'
};
- Run the server
node server
- Open http://localhost:8080