Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

pradeept/Featherlogs

Open more actions menu

Repository files navigation

FeatherLogs

featherlogs-logo

A modern Fullstack blog application built with Next.js and React.js (TypeScript). This app provides seamless authentication, dynamic SEO metadata, and rich user experience with animations.

Tech Stack

- Next.js
- React.js with TS
- Nextauth
- Mongoose
- Motion
- CSS modules (styles)

Features ✨

  • Authentication using Credentials and Oauth.
  • Protected API.
  • Visitor, User and Author modules.
  • Dynamically generated metadata for SEO friendliness.
  • Animations for better UX.
  • and much more..

Setup ⚒️ and Run ⚙️

  • Install the dependencies: npm i
  • Build the app: npm run build
  • Run the next app: npm run start
  • create a .env.local in / (follow below mentioned example .env)
  • Go to http://localhost:3000/

Example ENV 🗝️

MONGO_URL=mongodb://<host>:27017/<dbName>
AUTH_SECRET=<some_secret>
AUTH_GITHUB_ID=<Get from github>
AUTH_GITHUB_SECRET=<Get from github>
AUTH_TRUST_HOST=http://localhost:3000

Learnings 💡

  • Oauth using Nextauth.
  • API and middleware.
  • Protected routes.
  • Server actions & useActionState.
  • Caching and revalidating.
  • and much more...

Folder Structure 📁

  • src: all the routes, libs and utilities.
  • src/app: all the routes and API.
  • src/components: all the UI components.
  • src/lib: server actions, controller functions, DB models and connection script.
  • src/types: custom types.
  • src/utility: animation and Loading files.

About

Featherlogs is a Fullstack Blog Application built using Next.js, React.js and Nextauth.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.