Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

j7i/publify

Repository files navigation

HSR Project II

Publify is a simple project offering the possibility to create adverts based on certain categories.
Basically users can store two types of adverts: demands and seekings.
Other users can respond to a public advert by contacting the owner.

Get started locally

To get started make sure that you've cloned the repository and installed yarn.
Navigate to the directory of the repository and install the dependencies using the command: yarn (short for yarn install)

As this project is using firebase, make sure you've created a new firebase project.
The next step is to provide your newly created project credentials:

  1. Replace the client credentials inside lib/@config/firebase/client.js
  2. Additionally you need to provide the server credentials e.g. as now-secret:
    You already installed the required dev-dependency: now-env
  • Create a file named now-secrets.json in the root directory of this repository.
  • Inside the file you have to store your server credentials as base64 string which you've downloaded via firebase serviceaccounts.

Your secrets file should look like this:

{
  "@server_credentials": "credentials-as-base64-string",
  "@google_maps_api_key": "google-api-key-with-access-to-your-maps-api"
}

Now you're ready to run yarn dev to serve publify locally.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published