The frontend for Better Blogs, a reddit-like sharing platform for blog posts. Built to learn modern full stack development. The server is here.
- React for the User Interface
- Create React App for project structure
- React Hook Form for form handling
- React Redux via Redux Toolkit for state management
- ESLint for linting
- Prettier for formatting
Set REACT_APP_BACKEND_URL
environment variable to the backend URL via the shell or a .env
file.
Run npm run lint
to check for linting errors and npm run lint:fix
to format code to spec.
Run npm run dev
to start in development mode at http://localhost:3000/.
Build the project with npm run build
and run with npm start
.