If you have any crazy idea then please pull request...
- First make a package.json file using npm command
$ npm init
- Then type second command to get express
$ npm i express
- Now you can check your dependences on package.json
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
const express = require("express");
const app = express();
const path = require("path");
const port = 8000;
const filePath = path.join(__dirname, "../public");
app.use(express.static(filePath));
app.listen(port, () => {
console.log("Server is live now!!!");
});
- Open Git Bash.
- Change the current working directory to the location where you want the cloned directory.
- Type
git clone https://github.com/Sagar-Sharma-7/Reaction-Game.git
- Press Enter to create the clone of this repositary. `