I've decided to open-source my latest portfolio website! it has dynamic content management to add projects and posts using Contentful CMS, and was built using Next.js and Tailwind Css.
Refer to Next.js and Tailwind Css documentation to learn more.
Feel free to fork this repository to make your own portfolio, and if you liked the repo, kindly support it by giving it a star ⭐!
Contentful API Keys
1. Create a Contentful account
2. Add a Community Space (It's free!)
3. Choose "I create content"
4. Go to content model and start to add content type
📌 In this portfolio website, it has 5 Content type which is:
- Articles
- Featured Projects
- Projects
- Introduction
- ContactMe
- Go to settings -> API Keys -> Content Delivery / Preview tokens -> "Your space name"
copy the Space ID and Content Delivery API access token
- Put it into the environment variables according to
.env.example
and you're all set!
Firebase API Keys
1. Create a Firebase project
2. After setting things up you'll get the API keys, save those.
3. Go to Firestore Database
4. Add a collection named views
5. Then, put those API Keys before according to the .env.example
and that's it!
Install the dependencies with npm i
or yarn
Start the project by npm run dev
or yarn dev
You can deploy easily by using Netlify 🎉
pages/index.js
= Homepage
pages/projects/index.js
= Projects archive page
pages/blog/index.js
= Blog listings page
pages/blog/[slug].js
= Blog post page
- Next.js
- Firebase
- Tailwind Css
- React Reveal
- Mui Icons