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.
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:
- Replace the client credentials inside
lib/@config/firebase/client.js
- 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.