Coder Social home page Coder Social logo

causefolio's Introduction

CauseFolio

Description

One stop destination for showcasing the community you have built.

Table of Contents

⚙️ Tech Stack

🔨 Setup and Run

Setup local repo

Let's setup the backend server on your local machine.

0. Prerequisites

1. Fork repo

Fork this repo to your GitHub account

2. Clone repo

Clone the forked repo to your local machine

git clone https://github.com/<YOUR-GITHUB-USERNAME>/causefolio.git

Navigate to project directory

cd causefolio

3. Install Dependencies

npm install

4. Setup firebase for development (optional)

A firebase account is already created, but you will not have the access to it.

  • To use your own firebase instance, create a new firebase project using firebase console.
  • After creating a project, go to project settings.
  • In project settings of your newly created project there will be a section called 'Your Apps' which says 'There are no apps in your project, Select a platform to get started.'
  • Click on the 'WebApp' Icon, then it will ask to register a new App.
  • In the 2nd step of app registration, firebase will provide to you the firebase credentials of your app.
  • Now change it to provide your firebase credentials here

5. 📡 Setup remote

  1. You will have to set up remote repositories for getting latest changes from original repository
  2. Specify a new remote upstream repository that will be synced with the fork using following command :
$ git remote add upstream https://github.com/codeforcauseorg/causefolio.git
  1. Verify the new upstream repository you've specified for your fork using git remote -v
origin  https://github.com/<your-user-name>/causefolio.git (fetch)
origin  https://github.com/<your-user-name>/causefolio.git (push)
upstream        https://github.com/codeforcauseorg/causefolio.git (fetch)
upstream        https://github.com/codeforcauseorg/causefolio.git (push)

Your application setup is successfully completed!

6. Update Fork Repo From Original Repo (Optional)

  1. Follow these steps if you are done with Setup Remote ✅.
  2. Update your local Master to be in synch with the original repo.
$ git pull upstream <name_of_branch>
  1. Update the forked repo master by pushing the local repo up.
$ git push origin <name_of_branch>

Running the app

# development
$ npm run start

Build Setup

  • After doing changes, run the command npm run build to build the app for production to the build folder.
# build for production
npm run build

Contributions and PR

  • PRs should be generated against development.
  • Remember to run npm run format before creating pull request.
  • Netlify will create a preview inside pull request. Please check if your work is fine.

Project Structure

.
├── build                   # Compiled files
├── src                     # Source files
└── ...

Src Structure

.
├── ...
├── src
│   ├── ...
│   ├── assets              # assets for the website
|   ├── index.js            # starting point
│   └── ...
└── ...

Thanks to all the contributors ❤️

causefolio's People

Contributors

abhishek-kumar09 avatar zeborg avatar amishakumari544 avatar harkiratsm avatar dipscoder avatar dependabot[bot] avatar adityateltia avatar piall avatar unnatii-dev avatar shitiz-aggarwal avatar rizwan2000rm avatar symaticvisuals avatar devkapilbansal avatar kunal-kushwaha avatar nishant-rajput avatar mindninjax avatar unnati914 avatar zain-muiz avatar shrutixyz avatar

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.