Specify is a modern Spring Boot-based web app for software requirements analysis, where users can create projects, define use cases and CRC cards, build workflows and generate UML diagram scripts.
Before setting up the application, make sure you have the following installed on your machine:
- Node.js (version 18.x or higher)
- npm (version 9.x or higher)
- MySQL Server (version 8.0 or higher)
Follow these steps to configure and run the application on your computer:
Open your command line interface in the client directory and run:
npm installCreate a .env file in the server/config directory and configure your server port and MySQL details. You can copy the template file to start:
cp .env.example .envModify the .env file with your own values:
DB_HOST=localhost
DB_USER=root
DB_PASSWORD=your_mysql_password
DB_NAME=specify_db
DB_PORT=3306
SERVER_PORT=8080If you are planning to use the default MySQL database schema, import the setup file to create the tables:
mysql -u root -p < mysql-schema.sql- Enter the
clientdirectory. - Start development mode with hot-reloading:
npm run dev
- Open http://localhost:3000 in your web browser.
The entire controller, routing, and database persistency layer has been implemented using Java Spring Boot under the server directory, mapped and configured via the pom.xml:
- Prerequisites: Ensure you have Java JDK 17 (or higher) and Maven installed.
- Enter the
serverdirectory. - Build the JAR Package:
mvn clean package
- Execute the Spring Boot Application:
Configured
mvn spring-boot:run
portfor Spring Boot server is set to8080.