Last active
February 16, 2019 05:15
-
-
Save abernier/9c79390af1da1d823c26f4467355cf78 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express') | |
const app = express() | |
const port = 3000 | |
app.get('/', (req, res) => res.send('Hello World!')) | |
app.get('/login', (req, res) => res.send('Merci de te logguer')) | |
app.get('/signup', (req, res) => res.send('Merci de créer ton compte')) | |
app.listen(port, () => console.log(`Example app listening on port ${port}!`)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment