Built With: NextJS, ReactJS, HTML, CSS & Common JS
I used Firebase to deploy the project.
All you have to do is:
-
Create a firebase account
-
Create a project
-
Install Firebase tools in your root directory with
npm install -g firebase-tools
-
Login to Firebase using
firebase login
-
Initialise Firebase using
firebase init
-
While Initialising Firebase, refer to this link
https://www.geeksforgeeks.org/how-to-deploy-react-project-on-firebase/
-
Make sure your firebase.json file looks like this
{ "hosting": { "public": "out", "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ] } }
-
Nuild & Export using
npm run export
-
Finally, to deploy the project, use
firebase deploy