Full stack web app for making blogs or something idk
To get a local copy up and running, follow these simple example steps.
- Node.js
- npm
npm install npm@latest -g
- yarn
npm install --global yarn
- Java
- PostgreSQL
- Maven
Below is an example of how you can install and set up your app.
- Clone the repo
git clone https://github.com/ken1000minus7/Bloggy.git
- Setting up the backend
- Create a PostgreSQL database named
bloggy
- Create a
.env
file in the root directory and fill the environment variables using your database credentials. ExampleBLOGGY_DB_URL=jdbc:postgresql://localhost:5432/bloggy BLOGGY_DB_USERNAME=postgres BLOGGY_DB_PASSWORD=password
- Build the project using maven
mvn clean install
- Setting up the frontend
- Navigate to the frontend directory
cd src/frontend
- Install npm packages
yarn install
Start the frontend by navigating to the frontend directory and then starting the application with the command:
yarn start
Open http://localhost:3000 with your browser to see the frontend.
Start the backend by running the command in the root directory:
mvn spring-boot:run
Access the backend at http://localhost:8080.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
See the open issues for a full list of proposed features (and known issues).