Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joaquimnetocel/examplenode

THIS IS AN EXAMPLE OF NODE.JS
https://github.com/joaquimnetocel/examplenode

crossenv dotenv eslint express expressjs graphql graphqlplayground javascript node nodejs nodemon typescript

Last synced: 18 days ago
JSON representation

THIS IS AN EXAMPLE OF NODE.JS

Awesome Lists containing this project

README

        

# NODE.JS EXAMPLES 📦

## DESCRIPTION

THIS PROJECT CONTAINS EXAMPLES AND CONFIGURATIONS FOR **[NODE.JS](https://nodejs.org)**.

![NODE IMAGE](./imageNode.jpg)

## TOPICS

THIS PROJECT IS ORGANIZED BY TOPICS. CLICK [HERE](/folderSource/folderTopics/README.md) TO ACCESS ALL THE TOPICS.

## DOWNLOAD

YOU CAN GET THIS PROJECT IN THE FOLLOWING WAYS:

* CLONNING THIS REPOSITORY USING _GIT_:

```bash
git clone https://github.com/joaquimnetocel/exampleNode.git
```

* DOWNLOADING THE REPOSITORY [HERE](https://github.com/joaquimnetocel/exampleNode/archive/refs/heads/master.zip).

## QUICK START

* INSTALLING THE DEPENDENCIES:

```bash
npm install
```

* RUNNING THE PROJECT

```bash
# RUN ON DEVELOPMENT MODE WITH TYPESCRIPT:
npm run tsc-dev
```

```bash
# RUN ON DEVELOPMENT MODE WITH ESBUILD:
npm run esbuild-dev
```

```bash
# RUN ON PRODUCTION MODE
npx tsc
node ./folderDist/index.js
```

```bash
# BUNDLE WITH ESBUILD AND RUN ON PRODUCTION MODE
node esbuild.production.config.js # THIS IS GOING TO CREATE/BUNDLE ./folderBundle/index.js
node ./folderBundle/index.js
```

## CONTRIBUTING

YOU ARE WELCOME TO CONTRIBUTE WITH:

* :twisted_rightwards_arrows: PULL REQUESTS AND
* :star: GITHUB STARS

:smiley: