Skip to content

Instantly share code, notes, and snippets.

View antoniotex's full-sized avatar
:electron:
Drawing

Antonio Carlos antoniotex

:electron:
Drawing
View GitHub Profile
const express = require('express');
const app = express();
const bodyParser = require('body-parser');
const cors = require('cors');
const mongoose = require('mongoose');
const shortUrl = require('./models/shortUrl');
app.use(bodyParser.json());
app.use(cors());