Devlog is a blogging platform for the developers built with Next.js and Firebase and is loosely inspired by Dev.to
Sign up for an 👨🎤 account, ✍️ write posts, then 💖 heart and ✍ comment on content created by other users. All public content is server-rendered and search-engine optimized.
🔐 Authentication
Blogging
There are some prerequisites to run the app successfully on your local machine, follow the below steps to get started
Run the below commands in your terminal to confirm that all the requirements are passed to run the project Locally
node -v
npm -v
All the above commands should execute successfully and output the version numbers specified
Clone the project repository
git clone https://github.com/raselshikdar/devlog.git
Navigate to the project directory
cd devlog
Install Dependencies
npm install
Complete the proces to create a firebase project and register a web app, and initialize Authentication, Firestore and Storage Services
Environment Variables
.env.local
in the root directory of your projectfirebaseConfig
object with some project credentials.env.local
with the values from firebaseConfig
object in your firebase project settingsAll enviornment Variables in .env.local
👇
Authentication Setup
Now that all requirements are in place lets start our servers
Run npm run dev
to start client on port 3000
🥳 Hurray! you made it, go ahead to localhost:3000 to see the project in action