• Stars
    star
    144
  • Rank 255,590 (Top 6 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 1 year ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Portfolio built using Next.js, TailwindCSS, and Firebase

Portfolio

Β· Next Portfolio built in Next.js + TypeScript + Tailwind CSS + Firebase Β·

Introduction β€’ Tech Stack β€’ Development β€’ Deployment β€’ License

Introduction πŸ‘‹

Next Portfolio is built using Next.js and Tailwind CSS for a modern design and rapid development. TypeScript is utilized for code clarity and safety. Additionally, Firebase is being integrated for backend services such as realtime-database. The result is a dynamic and functional portfolio website that showcases the developer's skills and experience.

Tech Stack πŸ› οΈ

Development πŸ’»

Here are the steps to run the portfolio locally.

  1. Fork this repository.

  2. Clone your forked copy of the repo

    git clone https://github.com/<your-github-username>/next-portfolio.git
  3. Install dependencies

    npm i
  4. Create a Firebase project and select the web app

  5. Create an .env.local file in the root directory, and add the following variables with your firebase config:

    SENDGRID_API_KEY=XXXXXXXX
    NEXT_PUBLIC_FIREBASE_DATABASE_URL=XXXXXXXXXX
    MAIL_FROM=YOUR_MAIL_ID
    MAIL_TO=YOUR_MAIL_ID
    

Note: SENDGRID_API_KEY - Create an API key from "Settings" -> "API Keys" with "Restricted Access" to only "Mail Send"

  1. Update the sample data.json provided, with your data or directly import the same and edit using firebase later. (For storing images you can use Cloudinary or Firebase Storage)

  2. Import json data

    • Go to Firebase Console and select your project
    • Go to "Database" -> "Realtime Database" -> "Import JSON" and import the data.json file
  3. Run the project

    npm run dev

Deployment πŸš€

  1. Create a Vercel account and select "Import Project"

  2. Select the forked repository and deploy

  3. Add the following environment variables in the Vercel dashboard:

    SENDGRID_API_KEY=XXXXXXXX
    NEXT_PUBLIC_FIREBASE_DATABASE_URL=XXXXXXXXXX
    MAIL_FROM=YOUR_MAIL_ID
    MAIL_TO=YOUR_MAIL_ID
    
  4. Hurray! You successfully deployed the portfolioπŸ₯³

License πŸ“„

This project is licensed under the MIT License - see the LICENSE.md