mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-26 17:40:27 +01:00
Rename the project
Signed-off-by: Arthur DANJOU <arthurdanjou@outlook.fr>
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
FROM node:15.8.0-alpine3.10
|
FROM node:15.8.0-alpine3.10
|
||||||
|
|
||||||
RUN mkdir -p /usr/src/artapi
|
RUN mkdir -p /usr/src/athena
|
||||||
WORKDIR /usr/src/artapi
|
WORKDIR /usr/src/athena
|
||||||
|
|
||||||
COPY . /usr/src/artapi
|
COPY . /usr/src/athena
|
||||||
|
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
apk add git
|
apk add git
|
||||||
@@ -14,7 +14,7 @@ RUN yarn build
|
|||||||
|
|
||||||
RUN cp .env build
|
RUN cp .env build
|
||||||
|
|
||||||
WORKDIR /usr/src/artapi/build
|
WORKDIR /usr/src/athena/build
|
||||||
|
|
||||||
RUN yarn install --production
|
RUN yarn install --production
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# ArtApi 🧠
|
# Athena 🧠
|
||||||
|
|
||||||
ArtAPi is my personnal api connected to my instances
|
Athena is my personal api connected to my instances
|
||||||
|
|
||||||
## Features ✨
|
## Features ✨
|
||||||
|
|
||||||
@@ -26,4 +26,4 @@ ArtAPi is my personnal api connected to my instances
|
|||||||
|
|
||||||
## License 📑
|
## License 📑
|
||||||
Copyright © 2020 - [@ArthurDanj](https://arthurdanjou.fr) \
|
Copyright © 2020 - [@ArthurDanj](https://arthurdanjou.fr) \
|
||||||
This project is [MIT](https://github.com/ArthurDanjou/artapi/blob/master/LICENSE) Licensed.
|
This project is [MIT](https://github.com/ArthurDanjou/athena/blob/master/LICENSE) Licensed.
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ const redisConfig: RedisConfig = {
|
|||||||
port: Env.get('REDIS_PORT'),
|
port: Env.get('REDIS_PORT'),
|
||||||
password: Env.get('REDIS_PASSWORD', ''),
|
password: Env.get('REDIS_PASSWORD', ''),
|
||||||
db: Env.get('REDIS_DB', 0),
|
db: Env.get('REDIS_DB', 0),
|
||||||
keyPrefix: 'artapi:',
|
keyPrefix: 'athena:',
|
||||||
healthCheck: true
|
healthCheck: true
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ const sessionConfig: SessionConfig = {
|
|||||||
| The name of the cookie that will hold the session id.
|
| The name of the cookie that will hold the session id.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
cookieName: 'artapi-session',
|
cookieName: 'athena-session',
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "artapi",
|
"name": "athena",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import './artsite'
|
import './artsite'
|
||||||
import './artapi'
|
import './api'
|
||||||
import './auth'
|
import './auth'
|
||||||
import './home'
|
import './home'
|
||||||
|
|||||||
Reference in New Issue
Block a user