Skip to content

AFU92/sales_admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SalesAdmin

This repository has been created to solve Peiky's Backend Developer Test. The solution has been made with Elixir's Phoenix Framework (Official website: http://www.phoenixframework.org/).

Prerequisites

In order to run this repo you must have installed the following software:

Running the application

  1. Clone this repository https://github.com/AFU92/sales_admin.git
  2. Run a docker container of a postgres with postgis image docker run --name some-postgis -p 5432:5432 -d mdillon/postgis
  3. Go to the cloned repository folder cd sales_admin
  4. Change the values of the SalesAdmin.Repo config in the file config/dev.exs according to the params sended in the postgres container creation
  5. Install dependencies with mix deps.get
  6. Create, migrate and run seeds to your database with mix ecto.setup
  7. Start Phoenix endpoint with mix phx.server

Now the app must be running. You can test the endpoints importing SalesAdmin.postman_collection.json in postman

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages