hexpm alternatives and similar packages
Based on the "Examples and funny stuff" category.
Alternatively, view hexpm alternatives based on common mentions on social networks and blogs.
-
magnetissimo
Web application that indexes all popular torrent sites, and saves it to the local database. -
changelog.com
Changelog is news and podcast for developers. This is our open source platform. -
phoenix-chat-example
๐ฌ The Step-by-Step Beginners Tutorial for Building, Testing & Deploying a Chat app in Phoenix 1.7 [Latest] ๐ -
real world example app
Exemplary real world application built with Elixir + Phoenix -
phoenix-liveview-counter-tutorial
๐คฏ beginners tutorial building a real time counter in Phoenix 1.7 + LiveView 0.18 โก๏ธ -
phoenix-ecto-encryption-example
๐ A detailed example for how to encrypt data in an Elixir (Phoenix v1.7) App before inserting into a database using Ecto Types -
coderplanets.com
coderplanets.com API(GraphQL) server, build with elixir, phoenix, absinthe -
phoenix-todo-list-tutorial
โ Complete beginners tutorial building a todo list from scratch in Phoenix 1.7 (latest) -
hello_phoenix
Application template for SPAs with Phoenix, React and Redux -
phoenix-flux-react
An experiment with Phoenix Channels, GenEvents, React and Flux. -
portal
A tutorial for shooting fault-tolerant portals for distributed data-transfer application in Elixir -
ex_iss
An elixir wrapper for Open Notify's International Space Station API. http://open-notify.org/
Static code analysis for 29 languages.
Do you think we are missing an alternative of hexpm or a related project?
README
Hexpm
Contributing
To contribute to Hexpm you need to properly set up your development environment.
Also see the client repository: hex. The client uses hexpm
for integration tests, so hexpm
needs to support all versions the client supports. Travis tests ensures that tests are run on all supported versions.
Setup
- Run
mix setup
to install dependencies, create and seed database etc - Run
mix test
- Run
iex -S mix phx.server
and visit http://localhost:4000/
After this succeeds you should be good to go!
See [setup
alias in mix.exs](./mix.exs) and sections below for more information or when you run into issues.
PostgreSQL Modules And Version
PostgreSQL version should be >= 9.4, as Hexpm uses the jsonb
type, that is available from PostgreSQL 9.4 onward.
Hexpm requires the PostgreSQL modules pg_trgm and pgcrypto to be available.
This is located in the "postgresql-contrib" package, however the package name can vary depending on your operating system. If the module is not installed the ecto migrations will fail.
Database
By default, Hexpm connects to a localhost PostgreSQL database hexpm_dev
using the username postgres
with the password postgres
.
Create the database and user 'postgres' if not already done:
docker-compose up -d db
Now you are fine to create the hexpm_dev
database and run the ecto migrations:
mix do ecto.create, ecto.migrate
Sample Data
Using the following command you can seed your local Hexpm instance with some sample data:
mix run priv/repo/seeds.exs
Node Dependencies
For assets compilation we need to install Node dependencies:
cd assets && yarn install
If you don't have yarn installed, cd assets && npm install
will work too.
Running Hexpm
Once the database is set up you can start Hexpm:
# with console
iex -S mix phx.server
# without console
mix phx.server
Hexpm will be available at http://localhost:4000/.
License
Copyright 2015 Six Colors AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*Note that all licence references and agreements mentioned in the hexpm README section above
are relevant to that project's source code only.