zausnerd / software-engineering-daily-api

Backend API for Software Engineering Daily

Home Page:https://softwareengineeringdaily.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

Build Status

Software Engineering Daily API

The backend services and API for the Software Engineering Daily Android, iOS, and front end clients.

Getting Started

The Software Daily API uses MongoDB as the data store. You'll need MongoDB running locally. This requires an OS-specific install of Docker and Docker Compose. During the CI process for the the API, the MongoDB image data is seeded from the staging environment.

# clone the project
git clone https://github.com/SoftwareEngineeringDaily/software-engineering-daily-api.git
cd software-engineering-daily-api/

# setup environment variables
cp .env.example .env

# run mondodb container
docker-compose up -d

# install dependencies
npm install

# serve with hot reload at localhost:4040
npm start

# test api
curl localhost:4040/api/posts

View the swagger api docs at http://localhost:4040/api/docs

Contributing

Fork the repository and create a branch off of master. When your feature is ready, submit a pull request for the master branch. Be sure to include a short description of the feature or pull request and reference any related issues. The project is hosted on Heroku so if you would like a review app created just request it in the PR.

After the Travis-CI tests are successful and your pull request is approved, an admin will merge the PR. Any commits merged to master are deployed to the front end staging environment. Once everything looks good an admin will promote staging to production and your feature will be live!

We have an active Slack community that you can reach out to for more information or just to chat with anyone. Check out the Slack Channel SED app development slack channel. Also see the Open Source Guide.

About

Backend API for Software Engineering Daily

https://softwareengineeringdaily.github.io/

License:MIT License


Languages

Language:JavaScript 96.7%Language:Shell 1.5%Language:HTML 1.2%Language:Dockerfile 0.5%