Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shreyagarwal26/web-dev-template
Web Developing Template Using Node and Express
https://github.com/shreyagarwal26/web-dev-template
coffeescript ejs mongoose node react scss typescript
Last synced: about 1 month ago
JSON representation
Web Developing Template Using Node and Express
- Host: GitHub
- URL: https://github.com/shreyagarwal26/web-dev-template
- Owner: ShreyAgarwal26
- Created: 2021-04-21T15:41:03.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-26T16:58:58.000Z (almost 3 years ago)
- Last Synced: 2024-10-17T12:16:22.498Z (3 months ago)
- Topics: coffeescript, ejs, mongoose, node, react, scss, typescript
- Language: HTML
- Homepage:
- Size: 394 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Web Dev Template
This is a template that anyone can use to make a website.
This is made for local development
Technologies Used:
**Frontend**
* HTML
* CSS
* JavaScript
* TypeScript
* Coffeescript**Frontend Frameworks/Libraries**
* Bootstrap 5
* Font Awesome
* JQuery
* Three.js
* Highlight.js
* Lodash
* SCSS
* React
* Next**Backend**
* Node.JS
**Backend FrameWorks/Libraries**
* Express
* EJS
* Mongoose
* Lodash**Database**
* MongoDBTo Setup
```shell
git clone https://github.com/MrIntellectual/Web-Dev-Template && cd Web-Dev-Template
npm i
```To Compile and Start
```shell
bash run.sh
```
___**If you want to do them Seperately**
To Compile
```shell
npm run compile
```Only use `npm run compile` to compile if you want to use SCSS, TypeScript, and CoffeeScript.
If you are using one of them but not the other there are 3 seperate commands
```shell
# For TypeScript
npm run tsc
# For CoffeeScript
npm run coffee
# For SCSS
npm run scss
```To Start
```shell
npm start
```
or
```shell
node app
```Even though you can simply use node to start the server, I recommend using nodemon to startup servers. Nodemon is a packaged that restarts a server every time you change/save your code, here's how to install it
```shell
npm i -g nodemon
```and here's how to run it
```shell
nodemon app
```If you want to simply use `npm start` to start up your nodemon server then change line 34 in `package.json` to
```json
"start": "nodemon app"
```
___Another Note: Make sure to change the `package.json` file according to your needs.