Skip to content

It is a LAAS (Logistics as a Service) alx portfolio project

License

Notifications You must be signed in to change notification settings

michaelgobz/swiftmovers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftMovers Resource Controller

A swift-movers- resource controller project is a portfolio project for the alx Holberton final project It a proof of concept for logistics as a service system. This includes all the activities and works needed in the logistics industry. This the controller for the resources provided by the system it handles all the scheduling and operations of each client and business that has the access to the paid services.

It uses a graphql server with python 3.9.13

Installation and Usage

Clone the project.

git clone https://github.com/michaelgobz/swiftmovers.git
git checkout master 

Create a virtual environment:

cd swiftmovers
python -m virtualenv venv
source venv/bin/activate for unix and linux systems
run  ./venv/scripts/activate.bat for window

when you using vscode the environment is detected automatically

Install the necessary dependencies:

pip install -r requirements.txt

or using poetry these commands should get you started

pip install poetry 
poetry install

Create the database and run the server:

  • The api used the postgres database v15. to get started with more information is available here

  • Firstly, download the database server on machine here complete the installation process

  • Create a user/role with the credentials below

    username :swiftAdmin
    password :swiftAdmin
  • Create database swift via the commandline or using pg4 admin the administrative interface for postgresql

  • run the following commands in your terminal to get the server running

python manage.py migrate
python manage.py runserver

The server runs on port 8000 the django's default

server splash screen

You should be able to access the API server on here.

Documentation

About

It is a LAAS (Logistics as a Service) alx portfolio project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages