Author: Ho Anh Dung (HE181529)
This hands-on project is a part of the subject FER202 - Front-end Development with React. It is a mock, simple blog website that allows users to read and write blog posts. The website is built using Next.JS, and styled with Tailwind CSS.
⚠️ Disclaimer: This project is a simple mock website for educational purposes only. It is not intended for production use. It does not have any authentication or authorization mechanisms, so anyone can create, edit, or delete blog posts.
In this project, we'll implement the following features:
The project uses the following technologies:
git clone https://github.com/dung204/fer202-nextjs-tailwindcss-sharing.git
cd starter-template
npm
will be used in this project):npm install
Operating System | Command to run |
---|---|
Windows | pocketbase-windows.exe serve |
MacOS | ./pocketbase-macos serve |
Linux | ./pocketbase-linux serve |
Once started, you should see the following message:
├─ REST API: http://127.0.0.1:8090/api/
└─ Admin UI: http://127.0.0.1:8090/_/
You can access the Admin UI to configure the database, and insert some data. Then, you can query the data using the REST API.
npm run db:insert-data
⚠️ Note: You must perform step 4 before running this command. The insert data is randomized every time you run this command.
npm run dev
The project is licensed under the MIT License. You can find the license in the LICENSE file.