See Frontend Repository here (React Native iOS app)
GOST 19 (Russian Software Documentation Standard ГОСТ 19 ЕСПД) documentation
- Explanatory Note
- Requirements. Backend
- Requirements. Backend & Frontend
- Testing Plan & Methodology. Backend
- Testing Plan & Methodology. Backend & Frontend
- Programmer's Guide
- Program Sources
- You should use Java 11 to build and run this project
- Install PostgreSQL 13 with username {dbusername} and password {dbpassword}
- Create database with name {dbname}
> psql -U {dbusername}
# CREATE DATABASE {dbname};
- Clone this repository
- Open application-local.properties file and configure your database:
spring.datasource.url=jdbc:postgresql://localhost/{dbname}
spring.datasource.username={dbusername}
spring.datasource.password={dbpassword}
- Open application.properties and set active profile to local:
spring.profiles.active=local
- (Optional) Open StartupRunner.java and uncoment line 68 (
//generateMockData();
) - this will add some mock users and posts to the database (if you've generated them once, you should comment this line back to avoid collisions on app restart). Then create folder/images/
in the projects root directory and extract the archive there (do not change images names!) - Run following commands in project's root directory:
> ./gradlew clean
> ./gradlew bootRun
- The application is now up and running. You can send your requests to
localhost:8080
- You can access Swagger2 page at http://localhost:8080/swagger-ui.html
- You can also use this Postman requests collection to send requests. Use this guide to learn how to import request collections via link in postman