This project is referenced to: minisocialnetwork.
Create a database name MiniSocial
(preferably).
Import project as maven
Add application-local.properties
to src/main/resources
to config database.
minisocial.database.host=localhost
minisocial.database.name=miniSocialMedia
spring.datasource.username=<Your database name>
spring.datasource.password=<Your database password>
- Create imgur client-id
- Create
./frontend/.env.local
file - Define
REACT_APP_IMGUR_CLIENTID={your-client-id}
in.env.local
To run project with this code
git clone https://github.com/nguyen-tri-nhan/mini-social-network.git
docker-compose up -d --build
To run by release
- reference to docker-compose.yml
- replace build step in server by
nguyentrinhan/mini-social-server:release
- replace build step in client by
nguyentrinhan/mini-social-client:release