Skip to content

Runs a server that is accessible on http://localhost:4000/. When your server receives a request on http://localhost:4000/set?somekey=somevalue it should store the passed key and value in memory. When it receives a request on http://localhost:4000/get?key=somekey

Notifications You must be signed in to change notification settings

caroguza/database-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

database-server

Runs a server that is accessible on http://localhost:4000/. When the server receives a request on http://localhost:4000/set?somekey=somevalue stores the passed key and value in memory. When it receives a request on http://localhost:4000/get?key=somekey returns the value stored at somekey. This project was developed using Django 2.2.

Installation:

virtualenv -p `which python3.6` venv
  • Install requirements:

pip install -r requirements.txt

Execution:

  • In the active Virtualenv and the project directory run
python manage.py runserver 4000

About

Runs a server that is accessible on http://localhost:4000/. When your server receives a request on http://localhost:4000/set?somekey=somevalue it should store the passed key and value in memory. When it receives a request on http://localhost:4000/get?key=somekey

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages