- Locations autopopulate with Google Places API
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.
For Backend Server (Express.js + MongoDB).
npm start
For Frontend Server (React.js).
cd client
npm start
note: server is hosted independently of client.
- Go to
.../admin/create
. - Create an account.
- Find created account in your database under the admins collection and change role from "null" to "admin".
- Go to
.../admin
) and log in with your credentials. - You will be directed to a dashboard showing existing locations, and a link to add additional locations.