Skip to content

Ananya-0306/causefolio

 
 

Repository files navigation

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!

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 ❤️

About

For the community, by the community.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.5%
  • CSS 1.7%
  • Other 0.8%