GithubHelp home page GithubHelp logo

millevolts's Introduction

TEST 1

Check directory /test1

Start the server
exec: docker-compose up
Default listening port is 9090

Create Companies
POST to /api/company
{"name": "World Company","mail": "[email protected]"}

then
{"name": "E. Corp","mail": "[email protected]"}

Create Opportunities
POST to /api/opportunity
{
"title": "Developeur Backend",
"description": "Node, Mongo",
"company": <World Company ID>,
"region": <Enum ID>,
"city": "Rennes",
"contractType": <Enum ID>
}

then
{
"title": "Developeur FrontEnd",
"description":" React, HTML5, CSS3",
"company": <E. Corp ID>,
"region": <Enum ID>,
"city": "Paris",
"contractType": <Enum ID>
}

Get opportunities
GET to /api/opportunity
GET to /api/opportunity/search?query=Developeur
GET to _/api/opportunity/search?query=Developeur&region=<Enum ID> _
GET to /api/opportunity/search?query=Developeur&region=<Enum ID>&contractType=<Enum ID>
GET to /api/opportunity/<Opportunity ID>

Apply to opportunity
POST to /api/application
{
"firstName": "Elliot",
"lastName": "Alderson",
"mail": "[email protected]",
"message": "Hello!",
"opportunity": <Opportunity ID>
}
{
"firstName": "Edward",
"lastName": "Alderson",
"mail": "[email protected]",
"message": "Hi!",
"opportunity": <Opportunity ID>
}

Get companies
GET to /api/company

Get companies opportunities
GET to /api/company/<Company Id>/opportunities

Get opportunity applications
GET to /api/opportunity/<Opportunity ID>/applications

TEST 2

Check source test2.js

TEST 3

Check source test3.html

TEST 4

Check source test4.html

millevolts's People

Contributors

jlaloi avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.