deployed apps - rs-hash/GETTHATJOB GitHub Wiki
Space to list the list of deployed apps to add in resume - portfolio too
Step 1: Set up your environment Before you start coding, make sure you have the following installed on your machine:
Node.js (which includes npm): Download from nodejs.org.
Git: Download from git-scm.com.
You can verify if they are installed by running:
bash Copy Edit node -v git --version Step 2: Choose your framework (React or Next.js) React: A JavaScript library for building user interfaces.
Next.js: A React framework with built-in server-side rendering and many features that make it easy to develop and deploy applications.
Both are great for building a portfolio, but Next.js might be easier for SEO and performance optimizations since it provides server-side rendering by default.
Option 1: Create a React App Open your terminal and run the following command to create a new React project:
bash Copy Edit npx create-react-app my-portfolio cd my-portfolio To run the development server:
bash Copy Edit npm start This will start the app at http://localhost:3000.
Customize your project with components like Header, Footer, Projects, etc.
Option 2: Create a Next.js App (Recommended for SEO and optimization) Open your terminal and run the following command to create a new Next.js project:
bash Copy Edit npx create-next-app@latest my-portfolio cd my-portfolio To run the development server:
bash Copy Edit npm run dev This will start the app at http://localhost:3000.
Customize your pages and components. With Next.js, you have pages in the pages/ directory, and you can add new files like about.js, projects.js, etc.
Step 3: Customize your portfolio Homepage: Include a brief introduction about yourself, your skills, and what you do. You can also feature a photo of yourself.
Projects Page: Show off your projects, each with a short description, screenshots, and links to the GitHub repositories or live demos.
Skills/Technologies: List the skills and tools you’re familiar with, such as HTML, CSS, JavaScript, React, Next.js, etc.
Contact Information: Provide ways for people to contact you—like an email, social media links, or even a contact form.
Step 4: Set up GitHub and Git Create a GitHub account if you don’t already have one: Sign up here.
Initialize Git in your project folder:
bash Copy Edit git init Create a .gitignore file to ignore unnecessary files, especially node_modules. You can use this sample .gitignore for React or Next.js:
bash Copy Edit node_modules/ .env .next/ .idea/ Commit your project:
bash Copy Edit git add . git commit -m "Initial commit" Create a GitHub repository:
Go to GitHub, create a new repository (e.g., my-portfolio).
Follow the instructions on GitHub to push your local code to the remote repository.
Step 5: Deploying to GitHub Pages While React and Next.js are both excellent for building websites, GitHub Pages is better suited for static sites (i.e., sites without server-side logic). For React, you can use gh-pages to deploy. Here's how to do it for both:
For React (with Create React App): Install gh-pages:
bash Copy Edit npm install gh-pages --save-dev Add deployment scripts to package.json:
Add these two scripts under the scripts section of package.json:
json Copy Edit "homepage": "https://[your-github-username].github.io/[your-repository-name]", "scripts": { "predeploy": "npm run build", "deploy": "gh-pages -d build" } Replace [your-github-username] with your GitHub username and [your-repository-name] with the name of your repository.
Deploy your app:
bash Copy Edit npm run deploy After that, you can visit your website at https://[your-github-username].github.io/[your-repository-name].
For Next.js (using Vercel for better performance): Next.js works beautifully with Vercel, the platform made by the creators of Next.js.
Push your code to GitHub (make sure your repo is up to date).
Create a Vercel account: Go to Vercel and sign up using GitHub.
Link your GitHub repository to Vercel: After signing in, click on "New Project" and import your GitHub repository. Vercel will automatically detect that it's a Next.js project.
Deploy: After connecting your repo, Vercel will automatically deploy the app. You’ll get a live URL like https://your-project-name.vercel.app.
Step 6: Final Steps Test your website: Make sure it’s working on all devices and browsers.
Add analytics (optional): You can integrate Google Analytics or other analytics tools to track visitors to your portfolio.
Keep it updated: As you work on new projects, make sure to update your portfolio with your latest work!
Summary Set up your environment (Node.js, Git, etc.).
Create your portfolio using React or Next.js.
Customize the design (homepage, projects, contact, etc.).
Deploy using GitHub Pages for React or Vercel for Next.js.
Share your portfolio with potential employers, clients, and collaborators!
Let me know if you need help with any specific part of this process!