Skip to content

Repository files navigation

Bloggy

Full stack web app for making blogs or something idk

Built With

Getting Started

To get a local copy up and running, follow these simple example steps.

Prerequisites

  • Node.js
  • npm
    npm install npm@latest -g
    
  • yarn
    npm install --global yarn
    
  • Java
  • PostgreSQL
  • Maven

Installation

Below is an example of how you can install and set up your app.

  1. Clone the repo
     git clone https://github.com/ken1000minus7/Bloggy.git
  2. 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. Example
    BLOGGY_DB_URL=jdbc:postgresql://localhost:5432/bloggy
    BLOGGY_DB_USERNAME=postgres
    BLOGGY_DB_PASSWORD=password
    
  • Build the project using maven
    mvn clean install
  1. Setting up the frontend
  • Navigate to the frontend directory
    cd src/frontend
  • Install npm packages
    yarn install

Usage

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.

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

See the open issues for a full list of proposed features (and known issues).

About

Full stack web app for making blogs or something idk

Resources

Code of conduct

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages