Skip to content

tomyitav/map-objects-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

map-objects-server

Server side for markers-visualizer project, using:

This project demonstrates how to easily deploy a server, based on the graphql-server-typed starter, as AWS lambda.

Installation

Clone the repository and run npm install

git clone https://github.com/tomyitav/map-objects-server.git
npm install

Then, initialize a .env file in project root directory, with the following variables: DB_URLS, REPLICA_NAME, USERNAME, PASSWORD

Starting the server locally

npm run sls:offline

The server will run on port 3000. You can change this by editing config file.

Run server in production on AWS lambda 🚀

npm run sls:deploy

That's it! The server will be deployed as a lambda on AWS

About

Serverless graphql api for markers-visualizer

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors