Back end repository for Explore Indore (Explore Pokhara clone). Currently the dev version of the app is hosted here.
Use the following steps to get started with the dev version of the application:
- Clone this repository using the command line:
git clone https://github.com/2c-indore/explore-indore-be.git
- Switch to
develop
branch:git checkout develop
- Install dependencies:
npm install
- Get data elements from online excel sheet:
npm run importdata
- Dump these data elements to MongoDB:
npm run populatedata
- Copy sample secret config and modify accordingly:
cp src/sample_secret_config.json src/secret_config.json
- Start development server:
npm run dev
- The app will be running at
http://localhost:5080
Note: Some of the dependencies are a little old, as a result, there might be weird looking messages when running npm install
. We will be fixing them at a later date.
We will be using the git-flow based model to manage changes to the app.
- We wiil be maintaining two core branches,
master
anddevelop
withmaster
containing the last release, anddevelop
containing the latest stable version. - All core contributors are required to work on the
develop
branch. - Depending on the nature of the work, branch types can be of two types,
feature/feature-name
andhotfix/hotfix-name
which upon completion of work should be merged to the develop branch. - You can learn more about gitflow in this excellent stackoverflow answer.
We will be using Github issues to solicit and work on issues and feature requests. To submit an issue or feature request, head over to the issues section.