Skip to content

Commit efeacf7

Browse files
committed
Created documentation
1 parent e993997 commit efeacf7

File tree

1 file changed

+56
-14
lines changed

1 file changed

+56
-14
lines changed

README.md

+56-14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# Simple ReactJS Blog
1+
# ReactTodoList
22

3-
A simple, single-page blog built using ReactJS, focusing on displaying posts and allowing easy navigation. This project uses only JavaScript with ReactJS (no TypeScript) and minimal styling to keep it lightweight and efficient.
3+
A Todo list app for individuals amd teams with powerful functionalities for team work and organization.
4+
This web-application uses Symfony, a popular PHP Framework for its base and core functionalities on the server side.
5+
For the client side, it uses principally ReactJs and Tailwind, with the wonderful components from ShadCN UI.
46

57
---
68

@@ -19,8 +21,8 @@ A simple, single-page blog built using ReactJS, focusing on displaying posts and
1921

2022
## Features
2123

22-
- **React Single-Page Application** - Uses React for fast rendering and easy DOM manipulation.
23-
- **Dynamic Blog Post Rendering** - Posts can be easily updated or modified.
24+
- **Symfony Web Application** - Uses Symfony for dynamic rendering of the html content.
25+
- **React Components** - Uses React for the easy DOM manipulation and fast rendering
2426
- **Responsive Design** - Adapts to different screen sizes (desktop, tablet, mobile).
2527
- **Minimalist Styling** - CSS-in-JS for a simple and clean look.
2628

@@ -36,36 +38,76 @@ These instructions will guide you on how to set up and run the project locally.
3638

3739
### Prerequisites
3840

39-
- **Node.js** (version 14.x or above)
41+
- **Node.js** (version 16.x or above)
4042
- **npm** (Node Package Manager)
43+
- **Composer** (PHP Package Manager)
44+
- **Maker Bundle** (For easy deployment)
45+
- **Symfony CLI** (Optional)
4146

4247
### Installation
4348

4449
1. Clone the repository:
4550
```bash
46-
git clone https://github.com/LinkNexus/ReactBlog.git
47-
cd ReactBlog
51+
git clone https://github.com/LinkNexus/ReactTodoList.git
52+
cd ReactTodoList
53+
```
54+
55+
2. Create the .env.local file using the .env file as model
56+
```bash
57+
cp .env .env.local
58+
```
59+
60+
3. In the .env.local file, override necessary environment variables. In case you have no mailing services, you can use [mailpit](https://mailpit.axllent.org/docs/install/) which is very simple to use.
61+
```bash
62+
MAILER_DSN=your mailer configuration
63+
```
64+
- Using MySQL
65+
```bash
66+
DATABASE_URL="mysql://{your username}:{your password}@127.0.0.1:3306/{your database name}?serverVersion=8.0.32&charset=utf8mb4"
67+
```
68+
- Using MariaDB
69+
```bash
70+
DATABASE_URL="mysql://{your username}:{your password}@127.0.0.1:3306/{your database name}?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
71+
```
72+
- Using PostgreSQL
73+
```bash
74+
DATABASE_URL="postgresql://{your username}:{your password}@127.0.0.1:5432/{your database name}?serverVersion=16&charset=utf8"
4875
```
4976

50-
2. Install the dependencies:
77+
4. Create the database, migrations and modify the database
78+
- Using PHP
79+
```bash
80+
mkdir migrations
81+
php bin/console make:migration
82+
php bin/console doctrine:migration:migrate
83+
```
84+
- Using Symfony CLI
85+
```bash
86+
mkdir migrations
87+
symfony console make:migration
88+
symfony console doctrine:migration:migrate
89+
```
90+
91+
5. Install the dependencies:
5192
```bash
5293
npm install
94+
composer install
5395
```
5496

55-
3. Start the development server:
97+
6. Start the development server:
5698
```bash
57-
npm run dev
99+
php -S localhost:8000 -t public/
100+
npm run dev
58101
```
59102

60-
4. Open your browser and visit [http://localhost:5173](http://localhost:5173) to see the blog.
103+
7. Open your browser and visit [http://localhost:8000](http://localhost:8000) to see the blog.
61104

62105
---
63106

64107
## Usage
65108

66-
- **Adding a New Post**: The data is obtained by [Jsonplaceholder API](https://jsonplaceholder.typicode.com/posts/).
67-
- **Styling**: The entire styling is made by bootstrap, integrated using a cdn. If you want to change the styling, feel free
68-
to create your custom css files or change the already set classes.
109+
- **Styling**: The styling is made by tailwind. Many of the elements are made from ShadCN UI, hence just the modifying
110+
the global css variables may help to change the styling to your wants.
69111
- **Build for Production**: Run `npm run build` to create an optimized production build in the `build/` directory.
70112

71113
---

0 commit comments

Comments
 (0)