Git Product home page Git Product logo

freemage's Introduction

Freemage

It's an online photo sharing website in which users can like photos, delete their own photos, and upload photos.

Getting Started

Follow these instructions to setup the project for development or production environment.

3rd Party Services

This project uses these 3rd party services:

Note: You have to create account in these services to use this project.

Note: I have a tutorial on Google OAuth

Installing

  1. Clone the project and install dependencies
git clone https://github.com/Shahzayb/freemage.git
cd freemage
npm install
cd client && npm install
  1. Create all third party services accounts mentioned above. I'm assuming you know about these services. If not, then there are many good tutorials on these services.

  2. inside freemage/config folder, create dev.env file. And in freemage/client, create local.env file.

  3. Here is the list of all env variables you have to provide.

inside dev.env:

CLOUDINARY_CLOUD_NAME=value

CLOUDINARY_API_KEY=value

CLOUDINARY_API_SECRET=value

CLIENT_ID=value | a google oauth client id. CLIENT_SECRET=value | a google oauth lib client secret

DB_URL=value | your database uri

JWT_SECRET=value | a json web token secret

inside .env.local:

REACT_APP_CLOUDINARY_API_KEY=value

REACT_APP_CLOUDINARY_CLOUD_NAME=value

REACT_APP_CLIENT_ID=value | a google oauth client id

note: please create separate project of google oauth for development or production

SKIP_PREFLIGHT_CHECK=true | to avoid jest compatibility errors

Running the tests

inside the root of the project run:

npm run test

Built With

Versioning

For the versions available, see the tags on this repository.

Author

License

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.