Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 1.33 KB

README.md

File metadata and controls

63 lines (45 loc) · 1.33 KB

adoptation

Adoptation is a pet adoption social platform and also my final year project.

Getting Started

Installation

To use Adoptation on your machine, first clone this project on your local machine:

git clone https://github.com/furkanalptokac/adoptation.git
# or Github CLI or smt...

After you clone the project:

cd adoptation

When you changed your directory to project directory:

# to install server's and also client's dependencies
yarn
yarn client-install

After installing all dependencies, create a .env file inside adoptation and add application's configurations to your .env file.

HOST=
EMAIL=
EMAIL_PORT=
EMAIL_PW=
DB=

And also, you have to insert your Google API Key to client/.env file.

REACT_APP_API_KEY=

If you want to start with Docker, you have to change proxy value localhost to server in package.json inside client folder first. Because, server is not running under localhost on Docker. If you want to start on AWS, you have to set proxy value to server's Public IPv4 address.

"proxy": "http://server:5000/"
docker-compose build
docker-compose up

After all, you can start the project with:

yarn dev

License

Distributed under the MIT License.