All Projects → centerofci → mathesar

centerofci / mathesar

Licence: GPL-3.0 license
Web application providing an intuitive user experience to databases.

Programming Languages

python
139335 projects - #7 most used programming language
typescript
32286 projects
Svelte
593 projects
SCSS
7915 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to mathesar

nocodb
🔥 🔥 🔥 Open Source Airtable Alternative - turns any MySQL, Postgres, SQLite into a Spreadsheet with REST APIs.
Stars: ✭ 28,894 (+30314.74%)
Mutual labels:  restful-api, automatic-api, airtable-alternative
Database-Web-API
Dynamically generate RESTful APIs from the contents of a database table. Provides JSON, XML, and HTML. Supports most popular databases
Stars: ✭ 37 (-61.05%)
Mutual labels:  postgres, database-management, restful-api
Sandman2
Automatically generate a RESTful API service for your legacy database. No code required!
Stars: ✭ 1,765 (+1757.89%)
Mutual labels:  sqlalchemy, restful-api, automatic-api
nim-gatabase
Connection-Pooling Compile-Time ORM for Nim
Stars: ✭ 103 (+8.42%)
Mutual labels:  postgres, sqlalchemy
svelte-quotes
A small app to demonstrate use of SvelteJS
Stars: ✭ 16 (-83.16%)
Mutual labels:  svelte, sveltejs
its-ok-i-guess
🧐 Guess the game from the Steam review!
Stars: ✭ 41 (-56.84%)
Mutual labels:  svelte, sveltejs
svelte-eslint-parser
Svelte parser for ESLint
Stars: ✭ 30 (-68.42%)
Mutual labels:  svelte, sveltejs
svelteWeb3
A simple, dependency minimized package for building modern dApps with Svelte
Stars: ✭ 14 (-85.26%)
Mutual labels:  svelte, sveltejs
svelte-simple-icons
📦 This package provides the Simple Icons packaged as a set of Svelte components.
Stars: ✭ 27 (-71.58%)
Mutual labels:  svelte, sveltejs
15puzzle
A super simple PWA for 15 Puzzle game. Built with Svelte.
Stars: ✭ 29 (-69.47%)
Mutual labels:  svelte, sveltejs
fastapi-starter
A FastAPI based low code starter: Async SQLAlchemy, Postgres, React-Admin, pytest and cypress
Stars: ✭ 97 (+2.11%)
Mutual labels:  postgres, sqlalchemy
nomie5
Nomie v5 Source Code
Stars: ✭ 528 (+455.79%)
Mutual labels:  svelte, sveltejs
svelte-intl
Internationalize your Svelte apps using format-message and Intl object
Stars: ✭ 48 (-49.47%)
Mutual labels:  svelte, sveltejs
ChefAPI
API using FastAPI and PostgreSQL for sharing or keeping track of awesome food recipes Based on Oauth2 and JWT 💎
Stars: ✭ 16 (-83.16%)
Mutual labels:  postgres, sqlalchemy
agent
Job tracker & performance platform
Stars: ✭ 26 (-72.63%)
Mutual labels:  postgres, django-rest-framework
plugins
Elder.js plugins and community plugins.
Stars: ✭ 80 (-15.79%)
Mutual labels:  svelte, sveltejs
svelte-toy
A toy for svelte data stores
Stars: ✭ 73 (-23.16%)
Mutual labels:  svelte, sveltejs
sirix-svelte-frontend
A GUI console for SirixDB, using Svelte/Sapper.
Stars: ✭ 23 (-75.79%)
Mutual labels:  svelte, database-gui
svelte-accessible-dialog
An accessible dialog component for Svelte apps
Stars: ✭ 24 (-74.74%)
Mutual labels:  svelte, sveltejs
templates
tsParticles website templates collection
Stars: ✭ 42 (-55.79%)
Mutual labels:  svelte, sveltejs

Mathesar logo

Web application providing an intuitive interface to databases.


Mathesar is an open source software project to help users store, organize, visualize, and collaborate on data. Our goal is to provide an intuitive user experience for non-technical users. Mathesar directly operates on PostgreSQL databases, which gives it the flexibility to be interoperable with thousands of other existing tools and applications.

Potential use cases for Mathesar include publishing and exploring public datasets, running business processes such inventory management and project tracking, providing a ready-made interface for speedy data entry and custom reporting, collecting and processing data from large groups of people, simple data cleaning and analysis, and automatic web API generation.

We started building Mathesar in March 2021 and are making steady progress towards releasing an initial version of the project by spring 2022. Please visit our public wiki to learn more about the project.

Table of Contents

Contributing

We actively encourage contribution! Join our community and read through our contributing guidelines.

Local Development

First, ensure that you have Docker installed.

Clone the repository and then copy the .env.example file to .env like so:

cp .env.example .env

From the repository's root directory, run:

docker-compose up

If it's your first time running the application, you'll also need to run database migrations and install Mathesar types and functions:

docker exec mathesar_service sh -c "python manage.py migrate && python install.py"

You should now have a web server and database server running. Opening http://localhost:8000 in your browser will open the application. For sample table data, you can create a new table in the UI using the patents.csv file found in /mathesar/tests/data.

It is recommended that you keep the Docker containers running while you make changes to the code. Any change to the code made locally will sync to the container and the version deployed at http://localhost:8000 will always be the latest local version of the code.

Developing in Windows

Windows users who want to run the Mathesar Docker development environment in WSL are advised to clone the repository in a Linux filesystem. When the project resides in a Windows filesystem, WSL does not work well with hot module replacement (HMR), which is required for frontend development. Please refer to our Common Issues wiki page, and the frontend development README file for more details.

Configuration Options

If you want to use Mathesar with a preexisting Postgres DB, modify the DATABASES.mathesar_tables entry of the config/settings.py file with appropriate connection details before installing the Mathesar types and functions by running install.py as described in the previous step.

Please don't do this unless you have full confidence in what you're doing since Mathesar is not stable yet and may make unexpected changes to the database that you connect to it.

Frontend

For more detailed information on Mathesar's frontend development, see Mathesar UI.

Linting

To lint the project, run the lint.sh script from the root of the repository. The script requires that the Python virtual environment with flake8 be activated and that Node modules be installed in mathesar_ui/. Alternatively, ESLint and Flake8 should be installed globally on the system.

./lint.sh

By default, the script lints both Python and Node.js (if changes are staged), but this can be overridden with the -p and -n flags respectively.

./lint.sh -p false

You should symlink the script as your pre-commit hook to ensure that your code is linted along-side development.

ln -s ../../lint.sh .git/hooks/pre-commit

Running tests

If you'd like to run tests before pushing, here's how you do it:

Backend tests:

docker exec mathesar_service pytest mathesar/ db/

Frontend tests:

docker exec mathesar_service bash -c "cd mathesar_ui && npm test"

E2E integration tests

See Integration Tests

Opening a shell in the container

If you need to do some work on the container that's running the code, here's how you access it:

docker exec -it mathesar_service bash

To open a PostgreSQL psql terminal for the data in Mathesar:

docker exec -it mathesar_db psql -U mathesar

Troubleshooting

Please refer to our Common Issues wiki page for instruction on troubleshooting common issues while setting up and running Mathesar.

License

Mathesar is open source under the GPLv3 license - see LICENSE. It also contains derivatives of third-party open source modules licensed under the MIT license. See the list and respective licenses in THIRDPARTY.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].