Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Brugarolas/BlackMail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlackMail

Javascript Gmail client made with Google API for my final project.

Installation

Clone this repository on your computer:

git clone https://github.com/Brugarolas/BlackMail.git

Create and start a local server on port 3000 to serve static files. In Node.js with Express:

console.log("Loading server...");
var express = require('express');
var app = express();
var http = require('http').Server(app);

var port = process.env.PORT || 3000;

app.all('/', function(req, res, next) {
    res.header("Access-Control-Allow-Origin", "*");
    res.header("Access-Control-Allow-Headers", "X-Requested-With");
    next();
});

app.use(express.static(__dirname + '/BlackMail'));

http.listen(port, function() {
  console.log('Listening on port ' + port);
});

Open your browser and enter http://localhost:3000.

About

Javascript Gmail client made with Google API for my final project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published