Giter VIP home page Giter VIP logo

spring-boot-react-blog's Introduction

spring-react-blog

Token-based blog application using spring boot, react and jwt.

This project is under development.

Technology Stack

Component Technology
Frontend React 16+
Backend Spring Boot 2.1+, Java 11+
Security Spring Security, JWT
Auth Local, Google, Facebook
Database H2 Database, Mysql
Persistence JPA
API Documentation Swagger-UI
Client Build npm, yarn, webpack
Server Build Maven

Getting Started

Prerequisites

  • Install Java 11 from the OpenJDK
  • Install Node.js from the Node.js website
  • Clone the repo git clone https://github.com/keumtae-kim/spring-boot-react-blog.git

Backend

  • Go to your project folder from your terminal
  • cd blog-backend
  • Run: mvnw spring-boot:run

Frontend

  • Go to your project folder from your terminal
  • cd blog-frontend
  • Run: npm install or yarn install
  • After install, run: npm run start or yarn start
  • It will open your browser(http://localhost:3000)

Swagger UI

Account

Screenshots

Main

Post

Editor

Login

spring-boot-react-blog's People

Contributors

keumtae-kim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spring-boot-react-blog's Issues

Module not found: Can't resolve 'components/App' in path/to/blog-frontend/src

Hi keumtae-kim,

I've been trying to run your project for educational purposes.
I want to gain knowledge on using Spring REST together with React as its front-end.

I want specifically learn by creating creating a blog app.

I think this fits it the most. I think I'll try to learn from your source code. Thank you for this.

However, I can't seem to run the app after doing a yarn start command. I think the maven dependencies and yarn dependencies went well.. so far..

I replaced the Java 11 to Java 8 by the way, because that's what I have for now.

Is there something I'm missing?

Thank you very much in advance!

Kind regards,
Ken

Edit: Attached image for reference.
image

db config

how can i switch database change to mysql?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.