Skip to content

Mobile-friendly directory of craft beer bars, brewhouses, and bottleshops around Berlin. Built using the MERN stack with the help of the Mapbox & Google Places APIs.

Notifications You must be signed in to change notification settings

karlkristopher/craftberlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Berlin Craft Beer

Built with:

react-badge nodejs-badge express-badge mongodb-badge

Integrated APIs:

google-badge mapbox-badge

Client Deployment:

netlify-badge

Server Deployment:

heroku-badge

Demo (End User)

berlincraft_demo

Demo (Add a Location)

  • Locations autopopulate with Google Places API

berlincraft_admindemo

Setup

Requirements

Get Started

First, create the required environment files.

cp .env.template .env
cd client
cp .env.local.template .env.local

Second, install the dependencies.

npm install
cd client
npm install

Third, change the Google Places API key found in client/public/index.html to your personal API key.

Running BCB

Run the following commands from the root folder.

For Backend Server (Express.js + MongoDB).

npm start

For Frontend Server (React.js).

cd client
npm start

note: server is hosted independently of client.

Managing Locations

Create Admin Account

  1. Go to .../admin/create.
  2. Create an account.
  3. Find created account in your database under the admins collection and change role from "null" to "admin".

Accessing Admin Account

  1. Go to .../admin) and log in with your credentials.
  2. You will be directed to a dashboard showing existing locations, and a link to add additional locations.

About

Mobile-friendly directory of craft beer bars, brewhouses, and bottleshops around Berlin. Built using the MERN stack with the help of the Mapbox & Google Places APIs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published