Skip to content

maxim-sermin/copy-pasta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

copy-pasta

Built with Spring Boot and Angular

Filter and sort all recipes Overview

View recipe (mobile-friendly - perfect for cooking) View recipe

Edit or add recipe Edit recipe

Running locally

Database

  • Spin up any SQL database (tested with PostgreSQL and MySQL)

Backend

  • Set environment variables:
    • JDBC_DATABASE_URL=jdbc:postgresql://localhost:5432/copy-pasta
    • JDBC_DATABASE_USERNAME=copy-pasta-user
    • JDBC_DATABASE_PASSWORD=secret_pw
    • FRONTENDURL=http://localhost:4200
    • PICPATH=C:\dev\copy-pasta\pics
    • JWTSECRET=mustBeAtLeastBe32CharactersLong
    • PORT=8080
    • ACCESS_TOKEN_EXPIRE_MINUTES=180
    • REFRESH_TOKEN_EXPIRE_DAYS=30
  • Run with ".\gradlew.bat bootRun"

UI

  • Make sure backend is already running
  • Run npm start for a dev server. Navigate to http://localhost:4200/
  • Initial username/password on empty DB is 'initialChangeMe'

About

A web app for sharing food recipes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published