A blog application built using Next.js 14, featuring Google sign-up and sign-in functionality via Supabase, and a Supabase-based database.
This project is a simple blog application developed using Next.js 14 and TypeScript. It includes features for managing and displaying blog posts with a modern, responsive design. The application integrates Google sign-up and sign-in functionality using Supabase, and uses Supabase as its database.
-
Clone the repository:
git clone https://github.com/buchii1/next.js-blog.git
-
Navigate to the project directory:
cd next.js-blog
-
Install the dependencies:
npm install
-
Set up Supabase:
- Create a project on Supabase.
- Set up authentication and database tables as required.
- Create a
.env.local
file in the project root and add your Supabase credentials:NEXT_PUBLIC_SUPABASE_URL=your-supabase-url NEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key
To run the application in development mode, use the following command:
npm run dev
Open your browser and navigate to http://localhost:3000
to access the application.
To build the application for production:
npm run build
To start the production server:
npm start
- Blog Post Management: Create, read, update, and delete blog posts.
- Google Sign-Up/Sign-In: Integrated with Supabase for authentication.
- Supabase Database: Utilizes Supabase for data storage.
- Responsive Design: Optimized for various devices.
- SEO Friendly: Built with SEO best practices in mind.
We welcome contributions! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
For any inquiries, please contact:
- Name: Buchii
- Email: okonkwogodspower@yahoo.com