Skip to content

This website is dedicated to "GitHub Campus Expert - Korea". Created with MERN. Api hosted on Heroku and database hosted on Mongodb atlas.

License

Notifications You must be signed in to change notification settings

sky9262/gce-korea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GCE-KOREA

gce-korea

📍 Welcome

안녕하세요! 👋🏼.

This website is dedicated to "GitHub Campus Expert - Korea".

I created it during learning React.

I hope you'll like it.

📝 Prerequisites

  • node
node -v
v12.22.5
  • npm
npm -v
7.5.2
  • git
git --version
git version 2.30.2

💡 How to run

1. Clone the repo

git clone https://github.com/sky9262/gce-korea
cd gce-korea

2. Install all dependencies

npm i

3. Run the React App

npm start

🔌 How to deploy to Github Pages

1. Add homepage to package.json file

{
  "name": "gce-korea",
  "version": "0.1.0",
+ "homepage": "https://<username>.github.io/<repo name>",
  "private": true,

In my case:

{
  "name": "gce-korea",
  "version": "0.1.0",
+ "homepage": "https://sky9262.github.io/gce-korea",
  "private": true,

2. Add a "remote" to the local Git repository

git remote add origin https://github.com/{username}/{repo-name}.git

In my case:

git remote add origin https://github.com/sky9262/gce-korea.git

3. Add environment variable / secrets (How to add)

Add api url as a environment variable named REACT_APP_API

In my case,

REACT_APP_API = <The api url>

Note: Don't add / at the end of the api url.

4. Now deploy

npm deploy

🥣 What I used

  • This project is created using MERN (MongoDB, Express, React and Node.js) stack.

  • Frontend using React Js.

  • Backend using Express and Node Js.

  • Database using MongoDB.

🔒 Authentication

  • Sign in using JWT.

  • Sign up only by admin ( using a secret key ).

  • Password encrypted with sha256 encryption.

🔗 Connect with me

blog linkedin github

About

This website is dedicated to "GitHub Campus Expert - Korea". Created with MERN. Api hosted on Heroku and database hosted on Mongodb atlas.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published