Skip to content

MapIgniter is a web mapping application for publishing Geographic Information

Notifications You must be signed in to change notification settings

taviroquai/mapigniter3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MapIgniter3

MapIgniter3 is the newest version of the previous MapIgniter versions
MapIgniter is a web mapping application that allows to publish Geographic Information from various sources (OGC web services and files)

Client

The web client was built with:

  1. CreateReactApp (CRA) - React application
  2. Apollo Client - Graphql HTTP client
  3. SemanticUI - Full featured and customizable UI framework

Client setup

$ cd client
$ npm install # answer 1st option to all semantic-ui questions
$ npm run theme
# edit src/config.json
$ npm run start (for just react dev)
$ npm run build

Client Folder Struture

The file structure was inpired by Redux:

  1. Components - Contains React components
  2. Containers - Contains React containers (only behaviour allowed, no DOM)
  3. Actions - Contains state changes actions
  4. Queries - Contains Graphql queries

Server

The server is built using:

  1. AdonisJS framework - Used for data schema migrations, HTTP and Authentication (JSON Web Tokens)
  2. ApolloServer - Graphql server for most HTTP communication (except file upload and other non-API features)

Server setup

$ cd server
$ cp .env.example .env # edit .env and configure PostgreSQL database connection
$ npm install
$ adonis key:generate
$ adonis migration:run
$ adonis seed
$ adonis serve -dev

Server Folder Struture

  1. api - contains Graphql schema and resolvers
  2. app - contains HTTP controllers and Models for Authentication and other non-API features
  3. config - contains Adonis configuration files
  4. database - contains database migrations and seeds
  5. public - public HTTP folder
  6. resources - contains server-side resources ie. email template views
  7. start - contains server bootstrap files

Colaboration

Anyone is welcome to fork and submit issues and pull requests

License

MIT

About

MapIgniter is a web mapping application for publishing Geographic Information

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published